Loading ...

  • Add strong name to reffered assembly
    While working with one of my project I was getting message "Could not load file or assembly 'tika-app, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required." I was sure I was having strongly named dll TikaOnDotNet and tika-app dlls which I was using so where was t
    Raghav Khunger  · 8/31/2013  · 0  · 16794
     /5
    Avg: 0 / 5 (0votes)
  • If you have the image data in System.Drawing.Image and want to bind that to ASP.NET Image control following code will help you: System.Drawing.Image img = System.Drawing.Image.FromStream(xx); // Your source image string base64ImageString = ConvertImageBytesToBase64 (ImageToByteArray(img)); contactImage.ImageUrl = string.Format("data:image/jpg;
    Raghav Khunger  · 8/30/2013  · 0  · 5970
    asp.net image
     /5
    Avg: 0 / 5 (0votes)
  • Detect if a dll is strongly named via ildasm
    If you want to see whether your dll is strongly signed or not you can check that via ildasm . Navigate to C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ildasm.exe and open the dll you want to check. If it is showing some value of public key this means it is strongly signed and if it is not showing the value it means it is not strongly sig
    Raghav Khunger  · 8/30/2013  · 0  · 1634
    dll signing ildasm
     /5
    Avg: 0 / 5 (0votes)
  • Detect if a dll is strongly named via Reflector
    If you want to see whether your dll is strongly signed or not you can check that via Reflector . Load your dll in Reflector and focus on PublicKeyToken value. Reflector will show you information like this: // Assembly Newtonsoft.Json , Version 4.0.5.0 Location: D:\SampleProjects\GoogleContactsSample\GoogleContactsSample\bin\Newtonsoft.Json.dll Name
    Raghav Khunger  · 8/30/2013  · 0  · 1709
    dll reflector signing
     /5
    Avg: 0 / 5 (0votes)
  • Git: error: RPC failed; result=18, HTTP code = 200
    After pushing some large dlls into our repository I noticed the other users of that repository were getting the following error while Taking PULL: "C:\Program Files (x86)\Git\bin\git.exe" pull --progress "origin" fatal: early EOF fatal: The remote end hung up unexpectedly fatal: unpack-objects failed error: RPC failed; result=18
    Raghav Khunger  · 8/30/2013  · 0  · 6952
    git git-extensions visual-studio
     /5
    Avg: 0 / 5 (0votes)
  • I decided to work with the TikaOnDotNet project today. For that I downloaded the dlls via Nuget. But after downloading them I was getting the following compilation error: Referenced assembly TikaOnDotent does not have a strong name Solution: The solution was to make it strong name. Since I was not having the source code for that dll I made the stro
    Raghav Khunger  · 8/30/2013  · 0  · 1564
    dll tikaondotnet
     /5
    Avg: 0 / 5 (0votes)
  • Below is the code to show how to pass params to jquery trigger function: $('#TestAnchor').on('foo', function(event, param1, param2) { alert(param1); alert(param2); }); $('#TestAnchor').trigger('foo', ['one', 'two']); Live: http://jsfiddle.net/raghav_khunger/MwzJh/
    Raghav Khunger  · 8/28/2013  · 0  · 1599
    javascript jquery
     /5
    Avg: 0 / 5 (0votes)
  • The length of the URL for this request exceeds the configured maxUrlLength value
    I was getting the following error on one of our page: The length of the URL for this request exceeds the configured maxUrlLength value. Fix : Fix was to Update MaxUrlLength of httpruntime section in web.config to somewhat greater say 1024 characters:
    Raghav Khunger  · 8/24/2013  · 0  · 4571
    asp.net
     /5
    Avg: 0 / 5 (0votes)
  • Following are the outcomes of my test which I did in my ASP.NET site with app pool set as "Network Service" identity. I did these tests with Forms Authentication.. Case 1: When impersonation is false i.e <identity impersonate="false" /> System.Security.Principal.WindowsIdentity.GetCurrent().Name will give "NT
    Raghav Khunger  · 8/24/2013  · 0  · 3648
     /5
    Avg: 0 / 5 (0votes)
  • Fix: Type xx in Assembly xx is not marked as serializable
    I added few properties in one of our Business classes in our application Communifire.I started getting the following error: Type 'xxx' in Assembly 'ScheduleWidget, Version=2.2.0.0, Culture=neutral, PublicKeyToken=7df720a1c4851830' is not marked as serializable I knew I didn't add [Serializable] attribute to new property which co
    Raghav Khunger  · 8/10/2013  · 0  · 4306
     /5
    Avg: 0 / 5 (0votes)
  • While working with our product Communifire one of our clients was facing an issue regarding axd files, the WebResource.axd and ScriptResource.axd files were not working i.e they were giving the following error: Specified argument was out of the range of valid values. Parameter name: utcDate
    Raghav Khunger  · 8/4/2013  · 0  · 2534
    4.83 
     /5
    Avg: 4.83 / 5 (1votes)
  • After hibernating my machine having Windows 7 SP1 installed, it was doing restart everytime, this was not the expecyed behavior of hibernate feature. To fix this issue I went to "device manager" and noticed that "Allow this device to wake the computer" setting was checked in "Power Management" tab of properties of Mous
    Raghav Khunger  · 8/1/2013  · 0  · 1558
    windows7 hibernate
     /5
    Avg: 0 / 5 (0votes)
  • Page 1 of 1 (12 items)

Filter blogs

Top Producers

Quick Vote

What kind of email newsletter would you prefer to receive from CodeAsp.Net?