Re: Running code when viewing aspx code
From: Vadivel Kumar (donotreply_at_spam-i-love-u.com)
Date: 02/11/05
- Next message: Vadivel Kumar: "Re: HTML tags in Textbox"
- Previous message: Scott Allen: "Re: Authentication as signature"
- In reply to: Matthias H.: "Running code when viewing aspx code"
- Next in thread: Stefano: "Re: Running code when viewing aspx code"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Feb 2005 19:24:39 +0530
Assuming that you are working with VS.NET
If you open any aspx file in VS.NET by double clicking in Solution Explorer,
VS will open
that page in design mode, As per my understanding the design view is nothing
but
like a web browser, so it executes the code there and shows the error.
I too have faced some strange errors when opening a aspx page in design view
you can change this options in tools>options window to open any aspx page
in html view.
Have a try, as i'm not sure about this answer.
Atleast it will help you in going closer towards the problem.
-- Vadivel Kumar http:\\charpblogs.blogspot.com "Matthias H." <MatthiasH@discussions.microsoft.com> wrote in message news:25ABFA15-201C-44B5-B200-38842053BEAB@microsoft.com... > Hi guys, > > Our team has a very strange problem. I hope anybody can help. > > We have a class called webpage and all our aspx-pages bases on it. Then we > have a SYS.IO.File Class which have a function. This function checks the > hash > value of some ini-files. If the hash value is not valid then the function > throws an error. > Imagine we are editing the code behind file of an aspx-page. If we now > want > to view the aspx-code we double click the aspx-file in the project > explorer > and then there occurs the exception of the function in the class > SYS.IO.File. > The application is not running. > We don't have any idea why the webpage is calling the function in this > moment. > Is there any possible reason why code is running when viewing the > aspx-code > while the web-application is not running?
- Next message: Vadivel Kumar: "Re: HTML tags in Textbox"
- Previous message: Scott Allen: "Re: Authentication as signature"
- In reply to: Matthias H.: "Running code when viewing aspx code"
- Next in thread: Stefano: "Re: Running code when viewing aspx code"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|