Probably you are missing some Reference in your project.
Right click on your project ->properties (alt+enter) -> navigate to Android and check if you have red mark in the reference section.
If you have click remove and click add navigate to project and add your missing lib. After that click apply, right click on the project -> android tools -> fix project properties.
December 11, 2013
Probably you are missing some Reference in your project.
December 2, 2013
0×800703e9 - “Recursion too deep; the stack overflowed.”
A process serving application pool ‘www.yourdomain.com’ terminated unexpectedly. The process id was ‘SOMEID’. The process exit code was ‘0×800703e9′.
So check your code or database, some item probably pointing to same item or some loop is never ending.
November 14, 2013
0 or 0×0: The operation completed successfully.
1 or 0×1: Incorrect function called or unknown function called.
2 or 0×2: File not found.
10 or 0xa: The environment is incorrect.
0×41300: Task is ready to run at its next scheduled time.
0×41301: Task is currently running.
0×41302: Task is disabled.
0×41303: Task has not yet run.
0×41304: There are no more runs scheduled for this task.
0×41306: Task is terminated.
0×8004130F: Credentials became corrupted (*)
0×8004131F: An instance of this task is already running.
0×800704DD: The service is not available (is ‘Run only when an user is logged on’ checked?)
0xC000013A: The application terminated as a result of a CTRL+C.
0xC06D007E: Unknown software exception.
Save this script in .cmd or .bat file and make scheduler in your window to execute periodical, or execute from command line.
:: BATCH SCRIPT START @ECHO OFF :: Set following variable for file size in Bytes (1024 Bytes=1KB, 1024KB=1MB, 1024MB=1GB) SET /A FileSize=90122 :: Set following variable for file extensions to check (*.* = all files) SET Filter=*.* :: Set following variable with path to check insided for files SET Folder=C:\MyFolder FOR /R "%Folder%" %%F IN (%Filter%) DO ( IF %%~zF GTR %FileSize% ( ECHO Deleting "%%F" DEL /F "%%F")) EXIT /B /0 :: BATCH SCRIPT END
Click on the windows button, then type in “notepad” in the search box, you will see the notepad icon near the top of the window. Right click it, “run as administrator” then open the file “%windir%\System32\drivers\etc\hosts” then go ahead and edit it.
September 20, 2013
static string EncodeUnicodeChars(string value)
StringBuilder sb = new StringBuilder();
foreach (char c in value)
if (c > 127)
string encodedValue = "\\u" + ((int)c).ToString("x4");
September 16, 2013
byte data = Convert.FromBase64String(encodedString);
string decodedString = Encoding.UTF8.GetString(data,0, data.length);
August 13, 2013
1.Execute the emulator.
2.Start the console (Windows XP), Run -> type cmd, and move to the platform-tools folder of SDK directory.
3. Paste the APK file in the ‘android-sdk\tools’ or ‘platform-tools’ folder.
4. Then type the following command.
5. adb install YOURFILENAME.apk
August 7, 2013
April 16, 2013
To Change your web config in ASP.Net you can try this code:
var configuration = WebConfigurationManager.OpenWebConfiguration("~");
var section = (ConnectionStringsSection)configuration.GetSection("connectionStrings");
section.ConnectionStrings["mySTRING"].ConnectionString = “Data Source=192.168.1.1;Initial Catalog=MYDATABASENAME;User ID=USER;Password=PASSS”;
February 19, 2013
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
You are trying to place your httphandlers in your web config from your working environment to your server and you start receiving 500 - Internal server error. One of the reasons is that on your development environment you have IIS6 handlers and you are trying to copy paste to your IIS7 or IIS7.5 web.config. But things are changed numbers are changed and sections where you should define your handlers are changed so:
The thing that in iis6 was: <system.web> now is <system.webServer>in IIS7.5 so your web.config should look like this:
<system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules runAllManagedModulesForAllRequests="true"> <!-- modules go here --> </modules> <handlers> <!-- HERE is going your HANDLER-->
Interesting is that you can’t just copy and paste your IIS6 handler to IIS7.5 section and to start to working, if you do that than again you will receive server 500 error, you should rearrange a little bit your iis6 HttpHandler and after that put in handlers section. i will put two examples one is IIS6 and another is IIS7. 5 working handler and you will notice differences. I was trying to register oabout upload file with progress bar asp.net control (ASP.NET File Upload Progress - Use of StatusPanel Control), and at the end i finish with this:
<add verb="*" path="OboutInc.UploadProgressHandler.aspx" type="OboutInc.FileUpload.UploadProgressHandler, obout_FileUpload, Version=1.10.806.1, Culture=neutral, PublicKeyToken=c8b4009f4d53d5e5" />
IIS7.5 HTTP Handler:
<add name="OboutUploadModule" path="OboutInc.UploadProgressHandler.aspx" verb="*" type="OboutInc.FileUpload.UploadProgressHandler, obout_FileUpload, Version=1.10.806.1, Culture=neutral, PublicKeyToken=c8b4009f4d53d5e5" resourceType="Unspecified" preCondition="integratedMode" />
This worked for me, and control was working like expected.
February 14, 2013
Here you can download simple web site in asp.net C# in which you will find method that determine format of image by checking headers of file, according to this info tutorial
February 13, 2013
If you receive this kind of error in your android app, than don’t import your android app but click :
File -New -Project.. and select Android Project from existing code, and select your root project directory.
If you have funny characters when you import project in Eclipse that contains Cyrillic or Utf-8 characters than force your eclipse to import projects in utf -8 encoding by going to:
Window - Preferences - General - Workspace - Text file encoding choose Other and select UTF-8
and, for more fine-grained tuning by content type:
Window - Preferences - General - Content types
February 8, 2013
On your page you have, Your scriptmanager on top, you have, your panel and your control, you have defined timer, but your update panel won’t work. So what can be wrong?
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:25624/my_project/ScriptResource.axd?d=U8iTLB_pxZ1-Tf…8S55vlYuUcr63nt5ieZRabiXzGuZZIMv4sx13ImjRAH_qcIgV91n0&t=634882578938732455
all you need to do is to check your web.config and to see if your httphandlers are defined in your system.web section like this:
<remove verb=”*” path=”*.asmx”/>
<add verb=”*” path=”*.asmx” validate=”false” type=”System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31bf3856ad364e35″/>
<add verb=”GET” path=”ScriptResource.axd” type=”System.Web.Handlers.ScriptResourceHandler” validate=”false”/>