-
a very weird problem (AGAIN!!!)
Hi guys,
First of all I want to apologize for posting this thread again, but I do really need help with this.
I couldn't solve the problem yet and I don't understand why this could be happening, so PLEASE if anyone of you have an idea about why is this happening I would apreciate your help very much.
The authentication I'm using in my website is WINDOWS.
The error I'm getting is :
Hi everybody,
I'm having this problem again but in another application.
The application was build with ASP.NET and VB.NET, the problem is, when I press the LogOut button, I'm getting an error in the Bottom left corner of Interner Explorer and the error is :
Line: 80
Char: 13
Error: Invalid Pointer
Code: 0
URL: "the url of my website"
The code under the LogOut button is:
Response.Write("<script>window.close();</script>");
The most weird problem is that this error occurs on some IE but on others it work correctly !!!
I've checked the version of my colleague's IE, and the version and the service packs that are installed and are the same !
The version is: 6.0.2900.2180.xpsp_sp2_grd.050301-1519CO
Cipher Strenght: 128-bit
Product ID: xxxxxxxx
Update Versions:; SP2;
I really don't understand what's going on !
Is it possible it's a problem on the IIS coniguration ?
Thank you all !
Last edited by Michael; 01-26-2006 at 03:20 PM.
-
Michael do you have SmartNavigation turned on?Is so turn it off and try
That could be the problem
If thats the case let me know if no post some code
Patrick
-
a very weird problem (AGAIN!!!)
Hello Patrick,
I turned off the SmartNavigation parameter as you suggested, but it's still not working.
I'm getting the same error message.
the code I have in my LogOff button is:
Response.Write("<script>window.close();</script>");
The weird thing is that I have other web projects on the same web server where this application is hosted and I'm not having problems with them at all, that's why I thought it could be a problem with the website or it's configuration.
I'm wondering if it could be a problem with:
WebUIValidation
folder or how it's configured (I mean permissions, etc)?
Thank you again
-
Seems some js is clashing
Michael may be try re-installing the aspnet_Client folder..
Go to the path below and run the last command
%windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis -c
This will install the aspnet_client folder to the default virtual directory website.
Hope that helps
Patrick
-
What i'm thinking of again is may be embed
your javascript in the registerStartupScript.
Do that and lets see how it goes.
PAtrick
-
a very weird problem (AGAIN!!!)
Hello Patrick,
I told the web server admin to test the things you suggested to do.
As soon as I have an answer from him I'll let you know.
Thank you for helping
-
try
self.close in your javascript if you are using iframes in your logput web page by any chance
or
use window.iframename.close
Sri
-
Michael have you solved your problem
Let me know
Patrick
-
a very weird problem (AGAIN!!!)
Hi Patrick, Hi Sri,
I tried EVERYTHING and nothing seem to work.
I changed the old script Response.Write("<script>window.close();</script>");
with this one Response.Write("<script>self.close();</script>"); but i'm getting the same error message "error on page", etc etc etc
It seem the java script is not being recognized, that's why I'm thinking it's a configuration problem and not code problem.
On my development machine it works correctly, but on production server it crashes.
The problem is I don't have access to the web server an I don't how how can i guide the web masters to find and fix the problem.
I really don't know what else can I do to try fixing the problem
thank you guys
-
I think you have to re register the aspnet_client
Run that command aspnet_ regiis -c
I think if you run it on the PC where you have the issue it would only affect that PC..
Or try findoing out how you can direct it to that particular folder there must be a way around it.
Let me know
Patrick
-
a very weird problem (AGAIN!!!)
I'll try it.
Thank you Patrick.
-
On click of logout button, if you just want to close the window then why not do like this
in the pageload add the following code
cmdlogout.attributes.add("onclick","window.close();")
This should solve the problem instad of using response.write
Hope the above solution helps
vcs
-
Hi guys,
Just wanna let you know I've solved the problem using this command:
Me.RegisterStartupScript("PopupScript", "<script>self.close();</script>")
I wanna thank you all of you for helping me.
-
Michael but i adviced you to do that before 
Well good you got that working
PAtrick
Similar Threads
-
Replies: 0
Last Post: 12-13-2001, 12:06 PM
-
By Roseta in forum VB Classic
Replies: 0
Last Post: 11-14-2001, 03:24 AM
-
By Dan Kurszewski in forum Web
Replies: 0
Last Post: 12-14-2000, 05:50 PM
-
By Wade Balzer in forum VB Classic
Replies: 0
Last Post: 06-23-2000, 02:17 PM
-
By Jason Bock in forum VB Classic
Replies: 0
Last Post: 03-21-2000, 06:48 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks