
Are you an ASP. NET developer looking for error fixing in your project? Then, this is the place for you. In this post I will be presenting, 5 of the stupid mistakes developers make when they do ASP .NET programming. Most of them will make you scratch your head for hours for some simple solutions.
How to debug:
- Microsoft has buried the switches to enable ASP server side debugging in the Microsoft Management Console (MMC). Follow these instructions to be able to debug ASP code on the web server:
- In Windows NT or Windows 2000, launch the MMC:
- Start | Programs | Windows NT Option Pack | Microsoft Personal Web Server | Internet Service Manager
- Using the left hand panel, navigate to the virtual directory for which server side debugging should be enabled.
- Right click on the virtual directory in the left hand panel.
- Choose Properties
- Choose App Debugging
- Enable ASP server side script debugging
- Enable ASP client side script debugging
<ajaxToolkit:ToolkitScriptManager ID=”ScriptManager1″ OnAsyncPostBackError=”ScriptManager_Error” runat=”server” EnablePartialRendering=”true” LoadScriptsBeforeUI=”true” ScriptMode=”Release”/>
Add definition of that variable to .aspx.designer.cs file. Ideally, the definition of variables is atomatically generated bu in some rare cases Visual Studio won’t generate defination in .aspx.designer.cs file.
Unable to copy file XXXX.dll. The process cannot access the file XXX.dll because it is being used by another process.
How to reset IIS:
- Open Run from Start menu. (or type Windows logo+R)
- Type iisreset in run window and Hit Enter.
Server Error in ‘/’ Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Ambiguous match found.
Related posts: