This is a migrated thread and some comments may be shown as answers.

uegent - 404 error when page published

1 Answer 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 18 Feb 2010, 11:12 AM
Hi

Can someone help here?..

Recently I have a strange error that I can't track down on a site that has been running for months.

I need to add a new page with a simple form with RadText boxes etc . I developed this on my
local development machine and it works fine, including the code behind form processing.

When it is published to the remote site I get a 404 error as if the page is not there, but I can
see that it is by logging in to the server (both page and code behind).

As part of the diagnosis I published a page with no controls on. Page is visible with no errors,
even though it uses an exisitng master page with Rad controls.

Then added a textbox in visual studio, and published that - get 404 error
and no other useful info.

The rest of the site with existing pages containing Rad controls is functioning normally.
I just can't seem to publish anything new with a Rad control on the page.

Help with diagnosing / fixing this greatly appreciated, as further devlopment has ground to a halt.

Thanks

Clive

P.S
local machine: VS 2008, windows vista, iis7, Rad Controls version 2009.2.826.35
Remote server is windows 2003, iis 6, same version of rad controls

1 Answer, 1 is accepted

Sort by
0
Clive Hoggar
Top achievements
Rank 1
answered on 18 Feb 2010, 11:38 AM
I will answer my own post in the hope it saves someone else heartache..

It some point in the last month I lost the Telerik controls from the tool bar and had to
reinstall them to the toolbar.

At this point I think, the tag
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
got added to web.config on my local machine, so the pages are no longer having
the registration declaration automatically added to each page on the development
machine as they were before.

Fix was to add the same tag into the web.config on the remote machine.

thanks

Clive
Tags
General Discussions
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Clive Hoggar
Top achievements
Rank 1
Share this question
or