Showing posts with label browser. Show all posts
Showing posts with label browser. Show all posts

Thursday, March 29, 2012

Please click the back button on your browser and

Hi All,

In my one project, at many aspx pages I am getting below error.
Could anyone please give me solution of this.
================
Please click the back button on your browser and try again.Session state is
not available in this context.
================
I really tried to solve this a lot but could not get the solution.

Thanking you in advance,
RahulSeems sessions are disabled for your application and being used everywhere
inside applications...

Sudhakar Sadasivuni
http://weblogs.asp.net/ssadasivuni
MyUG : http://www.mugh.net

"Rahul Borade" wrote:

> Hi All,
> In my one project, at many aspx pages I am getting below error.
> Could anyone please give me solution of this.
> ================
> Please click the back button on your browser and try again.Session state is
> not available in this context.
> ================
> I really tried to solve this a lot but could not get the solution.
> Thanking you in advance,
> Rahul
>
Hi,

Thanks for your immediate reply!

But, if I check session on other aspx pages, the session
state is perfectly available.

What could be any other possiblity for this ... can you
please tell me ...

>--Original Message--
>Seems sessions are disabled for your application and
being used everywhere
>inside applications...
>
>Sudhakar Sadasivuni
>http://weblogs.asp.net/ssadasivuni
>MyUG : http://www.mugh.net
>
>"Rahul Borade" wrote:
>> Hi All,
>>
>> In my one project, at many aspx pages I am getting
below error.
>> Could anyone please give me solution of this.
>> ================
>> Please click the back button on your browser and try
again.Session state is
>> not available in this context.
>> ================
>> I really tried to solve this a lot but could not get
the solution.
>>
>> Thanking you in advance,
>> Rahul
>>
>>
>>
>.

Please click the back button on your browser and

Hi All,
In my one project, at many aspx pages I am getting below error.
Could anyone please give me solution of this.
================
Please click the back button on your browser and try again.Session state is
not available in this context.
================
I really tried to solve this a lot but could not get the solution.
Thanking you in advance,
RahulSeems sessions are disabled for your application and being used everywhere
inside applications...
Sudhakar Sadasivuni
[url]http://weblogs.asp.net/sasivuni[/url]
MyUG : http://www.mugh.net
"Rahul Borade" wrote:

> Hi All,
> In my one project, at many aspx pages I am getting below error.
> Could anyone please give me solution of this.
> ================
> Please click the back button on your browser and try again.Session state i
s
> not available in this context.
> ================
> I really tried to solve this a lot but could not get the solution.
> Thanking you in advance,
> Rahul
>
>
Hi,
Thanks for your immediate reply!
But, if I check session on other aspx pages, the session
state is perfectly available.
What could be any other possiblity for this ... can you
please tell me ...

>--Original Message--
>Seems sessions are disabled for your application and
being used everywhere
>inside applications...
>
>Sudhakar Sadasivuni
>[url]http://weblogs.asp.net/sasivuni[/url]
>MyUG : http://www.mugh.net
>
>"Rahul Borade" wrote:
>
below error.
again.Session state is
the solution.
>.
>

Saturday, March 24, 2012

Please help a newbie...

I cannot for the life of me figure out why I cannot run an ASP.NET app. Everytime I try to view in browser/debug I get the error:

maps to a directory outside this application, which is not supported.

I am using Visual Studio 2003. Could someone please enlighten me on what is going wrong here. I am a newbie so if the solution is simple please forgive my ignorance...thanksI have never heard of this error, and it isn't documented in MSDN. My guess is there is a mis-configuration in IIS. Sorry I can't be more specific.
Can you show sources for the page you are trying to view? Especially parts referring to elsewhere (like trying to reference user control etc)

Maybe you can have a look at the following post:

App_GlobalResources maps to a directory outside this application, which is not supported

Hope this helps,

Regards


thanks for posting that link...that is exactly what the problem was. I had a "\" at the end of the file path for the home directory...

thanks again, you saved me

That is so coolBig Smile [:D]

I am happy you solved your problem.

Regards

Friday, March 16, 2012

Please help me, and close the darn form!

Hi,
I've been here before and i'm still stuck with the same problem. I just can't close the stupid form.
I'm using microsoft's browser control on my aplication. I can open a new form when i click any link. That works great.

The BIG problem is when the javascript:window.close() is called from any page. The browser control closes, but i get stuck with the form it was on. I just can't close it.

Please help me. I've been to all kind of forums and still haven't found a solution.

Thanks.I think it has something to do with this bug. It looks like the WindowClosing event isn't beeing fired.

Can someone translate this into VB.Net.

http://www.codeproject.com/buglist/iefix.asp

Thanks.
I've never used the WebBrowser control, so I can't help there.

However, here is an onlineC# to VB.NET converter. It will convert the code provided in the article you referenced.

Hope this helps.
I got it. Thanks for your post "SomeNewKid2", but i didn't use that code. To confusing.

I was trying to use the windowclosing event and it didn't work. I found out that it work with the leave handler.
Like this:


Private Sub AxWebBrowser1_Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxWebBrowser1.Leave
Me.Close()
End Sub

This closes the stupid form also.
Stay well.