User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 391,908 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,580 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 795 | Replies: 1 | Solved
Reply
Join Date: Mar 2007
Posts: 2
Reputation: kardan is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kardan kardan is offline Offline
Newbie Poster

404 Error on Postback

  #1  
Mar 26th, 2007
This has been driving me mad for a few hours now.

I have created a web application in VWD Express which has tested fine on localhost. I have now transferred this to a test server. Every time I click on anything that causes a postback a 404 Error - File could not be found is displayed.

The postbacks do not cause a redirect but instead just rebuild the current page. Having checked the web log there is a message to say <Rejected_By_Urlscan>.

I am guessing this is a permissions problem on the IIS Server, but being new to publishing and server admin I do not know what needs correcting.

Please help.

Regards

Kardan
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2007
Posts: 2
Reputation: kardan is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kardan kardan is offline Offline
Newbie Poster

Re: 404 Error on Postback

  #2  
Mar 27th, 2007
After a pointer in another forum, I checked the URLScan Log in '\WINNT\system32\inetsrv\urlscan' folder and found the message 'Sent verb 'POST', which is not specifically allowed. Request will be rejected.'
I then amended the urlscan.ini file and added POST to the allowed verbs, restarted IIS and hey presto postbacks work!
Now to get on with the rest of the testing.
Thanks again,
Kardan
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 7:42 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC