views:

36

answers:

3

Hi all good morning

I have a new web application. I've setup the application and it's working on one server(xxx) but it's not working on another(yyy). I changed the web.config file(checked throughly and I've changed the connection string and appsettings).

What could be the error?

The login page is working but when I proceed a Javascript error occurs...

(Line: 48 Error: Object doesn't support this property or method)

Here's the code

function callCompForFileUpload(responseText)
        {
            document.getElementById("btnView").disabled = false;
            var objFolderUpload = document.getElementById("FolderUpload");
            var UploadURL = document.getElementById("HdnFolderUploadURL").value + "?rid=" + responseText;

        // this is error line
            objFolderUpload.ShowForm(UploadURL);
        }

Thanks saj

+1  A: 

You are probably missing a linked script. ShowForm is not a built-in method on an Element, but it may be defined in a linked script that wasn't copied to your new server.

gilly3
A: 

Make sure that IIS worker process has write access to the folder that your user uploading.

Salamander2007
A: 

Seconding the linked script theory. Get a http debugger like the one embedded in firebug or fiddler to peek into what is happening on the wire. 404 errors will be quite obvious.

Wyatt Barnett