Category Archives: .Net Troubleshoot

.Net Troubleshoot

Steps to Call Stored Procedure with Parameters from C# .Net

Many Confusions while calling procedure from your asp.net. Generally it’s because less practice of using oracle with .Net code. Following is the example. Hope it’ll be useful to you. Procedure : create or replace procedure ProcTest(param1 in varchar, param2 in … Continue reading

Resolved : HTTP Error 404.2 – Not Found The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server IIS 7 Windows Server 2008

Setting up new application in IIS may cause following error. HTTP Error 404.2 – Not Found The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server. Solution : 1. … Continue reading

Resolved : HTTP Error 500.22 An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode IIS 7 Windows Server 2008

When you deploy new web application in IIS and you may get following error. HTTP Error 500.22 – Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. First and foremost try … Continue reading

Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack – C# : Resolved

Sometimes while executing following code you may get error “Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack” string url = “myURL.aspx?UserId=” + this.UserId.ToString(); Response.Redirect(url); It is because you … Continue reading

Resolved : A generic error occurred in GDI+ error in C#

Working with Copy image or Resize image. You may get error that “A generic error occurred in GDI+”. I have come across to following two codes. Code 1 : public void Resize(string oldFilePath, string newFilePath, OrgFile, NewFile) { try { … Continue reading

Unable to build project output group ‘Content Files from PROJECTNAME (Active)’ : Resolved

When you try to build setup project, you will get an error Unable to build project output group ‘Content Files from PROJECTNAME(Active)’ Note : where PROJECTNAME is replaced by your current solution CAUTION : This error refers to items that … Continue reading

Cannot resolve the collation conflict between “Latin1_General_CI_AI” and “SQL_Latin1_General_CP1_CI_AS”

Collation is nothing but the set of rules that ensure proper use of characters for Language or Alphabet. If the fields you are comparing use different collation, you will get this error. select * from table1 a inner join table2 … Continue reading

Creating new project not showing solution name or root : Visual Studio 2010 resolved

Are you facing issue while creating new project in VS2010? Can’t see solution name/root after adding new project to solution? Recently many of questions come after updating visual studio from versin 2008 to 2010. When you create new project it … Continue reading

IIS Error 404.2 – The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server

IIS 7 defaultly not allowing ISAPI and CGI through .Net 1.1-4 by default. So if you are working with older code on IIS7 you may face such issue.. To solve this problem you need to follow these steps. Open IIS … Continue reading