Symptom: When try to view the source of an .aspx or asp.net masterpage it highlight the first line (page or master) and in the little popup it says "could not find part of the path"
Resolution: clear the content of the folder
C:\Documents and Settings\{USERNAME}\Application Data\Microsoft\VisualStudio\8.0\ReflectedSchemas
Tuesday, August 26, 2008
Thursday, August 21, 2008
Protect file types (.xml, .doc, .html, .pdf etc.) using ASP.NET authentication: Microsoft ASP.NET
Because requests to .xml, .doc, .html, .pdf etc handled by the IIS instead of asp.net ISAPI module first it is required to configure specified extensions to be handled by the asp.net ISAPI module
How to configure custom file extension to be handled by the asp.net ISAPI module
In IIS (run ‘inetmgr’)
How to configure custom file extension to be handled by the asp.net ISAPI module
In IIS (run ‘inetmgr’)
- Locate the website (or virtual directory, which configured as a web application) you want to configure custom file extensions to be secured.
- Right click and find the ‘Virtual Directory’ tab under properties
- In ‘Virtual Directory’ tab click configuration
- Add extension (ex: .xml) and browse aspnet_isapi.dll from the usual location (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727). If you can’t find the exact directory perform a search and locate it.
- Uncheck ‘check that file exist’ checkbox just in case of request to a non existing file. then press ok
- If it is local it is recommend to do a IIS reset (run ‘iisreset’) if not if it is the production server or UAT, recycle the application pool
Tuesday, August 12, 2008
The following module was built either with optimizations enabled or without debug information: Microsoft ASP.NET
Symptom: Solution includes a web project and a class library(may be more). But can not hit any break points in class library as it says ‘no symbols has been loaded’
- Try 'Configuration Manager' – make sure all project configurations are set to ‘debug mode’ and clean the solution
- Try web config – make sure you have set [debug=’true’] in compilation section.
- Remove the assembly reference and try adding it again.
Friday, August 08, 2008
Oracle replace (XML) - Oracle 10.2 E
update affiliate set config = REPLACE(config, 'old.text', 'new.text') where id ='SADB12345';
Subscribe to:
Posts (Atom)
Azure Storage Account Types
Defferent Types of Blobs Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually...
-
Why we need asynchronous tasks? Execute a time consuming operations in parallel to the CLR thread which execute the request If you have ...
-
Demo: I was thinking a way to show images before actually uploading them to server. I would say to preview images using javascript. Obv...