|
I would like to test my website on a ftp server. I get the runtime error I pasted above whenever I go the site. I have no idea how to fix it.
|
|
|
|
|
I want to catch 404 page not found errors in my C# ASP.net 2.0 website.
So I put...........
<customErrors mode="On" defaultRedirect="UnexpectedError.aspx">
<error statusCode="404" redirect="PageNotFound.aspx"/>
</customErrors>
in my web config file, great.
If I change the URL in the browser from www.mysite.homepage.aspx to www.mysite.omepage.aspx my pagenotfound page displays. whats the problem??
If i change it to www.mysite.homepage.spx I get a standard 404 error but no custom page, is this not a real 404?
Any clues??
Harvey
|
|
|
|
|
imnotso# wrote: <customerrors mode="On" defaultredirect="UnexpectedError.aspx">
<error statuscode="404" redirect="PageNotFound.aspx">
This is in the application web.config processed by ASP.NET. Hence 404s that can be trapped from within the application which are ASP.NET parseable files alone get through this filter. Everything else passes through the standard IIS 404 filter, which you may need to configure or have all requests routed through ASP.NET, which might increase the load on ASP.NET.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
|
Hi
I amanged to set up membership and created the .mdf database through VWD.
However now I would like to put that database in sql server.
Does any1 know how to do this would be great
thanks!
|
|
|
|
|
|
Db publishing wizard
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Hello Friends,
I've designed a website in ASP.NET 2.0 and having database in Sql Server
I'm uploading my website on my server. And i've a folder named "Admin" in my website and having two web pages inside this "Admin" folder. But when i publish my site and run it then it runs perfectly but when run "Admin" folder's web pages then those pages are not working properly for running those web pages i've to upload my ".CS" file as well. Please suggest why this problem is being raised.........
|
|
|
|
|
what problem did you facing ?
check the path that you are given for those pages inside the Admin Folder.
|
|
|
|
|
I got Runtime Error...
But when i upload ".CS" pages then it works fine
|
|
|
|
|
.NET- India wrote: But when i upload ".CS" pages then it works fine
What does it mean ?
Did you try to run application with out ".cs" file ?
|
|
|
|
|
yea i've tried............
|
|
|
|
|
.NET- India wrote: yea i've tried............
what you have tried ????
it is not possible to run your page with out put codebehied file.
i dont know in which way you are going !!!
|
|
|
|
|
|
.NET- India wrote: i can show you
what do you want to show me ???
|
|
|
|
|
i'll give the url of my site then u run tht page. Then you can check tht page is not running but as i upload tht's ".CS" file then tht page will work fine
|
|
|
|
|
ohhhh man........
.NET- India wrote: Then you can check tht page is not running but as i upload tht's ".CS" file then tht page will work fine
unless you give the "Cs" file how your page will run. it will work fine when you upload the "cs" else not.
I think you need some rest from your work ... then every thing will fine .
|
|
|
|
|
Abhijit Jana wrote: unless you give the "Cs" file how your page will run. it will work fine when you upload the "cs" else not.
It will work without CS file. ASP.NET provides different types of deployment. If "Publish Website" is used, it will generate assemblies and no need to upload CS file. Publishing CS file is considered as less secure if you host on a shared server.
|
|
|
|
|
Hi navaneeth,
though i have deploye some web sites by publised them , but i never look on that issue.
Thanks for information.
Thanks again !!!!
|
|
|
|
|
i think you are not understanding what i'm saying please get my first comment block carefully then understand my probs and suggest me some way if you find otherwise. Thnx a lottttttttttttttt..........
And i think we never upload ".CS" file over the server .........
|
|
|
|
|
Abhijit Jana wrote: unless you give the "Cs" file how your page will run. it will work fine when you upload the "cs" else not.
I think you need some rest from your work ... then every thing will fine .
Please read some tutorials about publishing a website. A published website works on aspx + dll files. No need of css files.
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
LucknowRockers wrote: A published website works on aspx + dll files.
yes, i have got my problem
LucknowRockers wrote: No need of css files
you are totaly out of Track.
|
|
|
|
|
|
|
yea i know. Can you solve my prob.............. if yes plz otherwise donot give me your precious comments
|
|
|
|