Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting "callee" error after opening window with JScript

Status
Not open for further replies.

princessjen

Programmer
Mar 23, 2001
2
US
Error Message:

"the callee(server[not server application]) is not available and disappeared; all connections are invalid."

I am getting this message when returning to the parent page after opening a popup window with JavaScript code. Below is the function that opens the popup window:

// Function to open add new document window
function docWindow(appNum, pageNum)
{
// Open new document window.
strDocLocation = " strDocLocation += appNum
strDocLocation += "&PG="
strDocLocation += pageNum
strDocLocation += &quot;&INV=<%=server.urlencode(strInvestor)%>&VIEW=<%=strView%>&BANK=<%=strBank%>&SORT=<%=strSort%>&SRC=<%=strSRC%>&Range=<%=strRange%>&DOC=&quot;
docWindow = window.open(strDocLocation, &quot;docWindow&quot;, &quot;location=no,scrollbars=no,height=275,width=425&quot;)
docWindow.focus()

The only way I have been able to get around this error is to refresh the page before opening the popup. Are there other options or am I doing something wrong?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top