Showing posts with label working. Show all posts
Showing posts with label working. Show all posts

Wednesday, March 28, 2012

Strange bugg with asp.net in Visual Studio

Hi,
I would appreciates some hints or help regarding a strange behaviour in
visual studio dotnet when using asp.net. I'm working with authentication
and somewhere in the process the framework goes nuts. Let me explain the
behaviour for you.
First you have a register page in the root of your project. Next you
have a folder named MemberPages and in this folder a login.aspx page.
And then you have welcome.aspx page.
You have a web.config and set restricion for anonymous users that
redirect to the login page.
If you compile and run the project you get the following error:
Could not load type 'GrundSys01.MemberPages.login'.
Ok and then you remove the login.aspx and rename the folder to MyPages
and then add a new login.aspx page and set it to start page.
Compile and run the project. Page displays fine.

Now why is that and what do I need to do?
I have tried to remove temporary files in framwork folder without
success.

I would appreciate if you could spend a little time to help me on this.

Regards
Andla

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!Hi Andla,
It looks like a namespace problem.Check your project
properties and the inherits property of the page
directive on your login page.

Regards
-Narayana
>--Original Message--
>Hi,
>I would appreciates some hints or help regarding a
strange behaviour in
>visual studio dotnet when using asp.net. I'm working
with authentication
>and somewhere in the process the framework goes nuts.
Let me explain the
>behaviour for you.
>First you have a register page in the root of your
project. Next you
>have a folder named MemberPages and in this folder a
login.aspx page.
>And then you have welcome.aspx page.
>You have a web.config and set restricion for anonymous
users that
>redirect to the login page.
>If you compile and run the project you get the following
error:
>Could not load type 'GrundSys01.MemberPages.login'.
>Ok and then you remove the login.aspx and rename the
folder to MyPages
>and then add a new login.aspx page and set it to start
page.
>Compile and run the project. Page displays fine.
>Now why is that and what do I need to do?
>I have tried to remove temporary files in framwork
folder without
>success.
>I would appreciate if you could spend a little time to
help me on this.
>Regards
>Andla
>*** Sent via Developersdex http://www.developersdex.com
***
>Don't just participate in USENET...get rewarded for it!
>.
Thanks for your answer.
I have tested different namespace adjustment without any success. Also
I'm not sure how this can be a namespace problem because that it fails
only if the folder name is MemberPages. Any other name do fine. Also I
have made a search for 'MemberPages' string in the root because I
suspected that this laid hidden somewhere. Any file containing this
string was either changed or deleted and still the same problem appeared
again.
Maybe I should check the registry and remove any key containing this
string.
Don't really know what more I can do.

Regards
Andla

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

strange but true

Hi all,

I have been working on an Asp .Net project that reports from a database.
The project was going great, until all of a sudden the results stopped
displaying!. I do not know if it is a buffering problem, the thing is that
I did not get any warning at compilation time, and when trying to display
output from within VS I did not see the labels with the values coming out
of the database. I was able to get evrything perfect until I added a new
datagrid to display a new result set. I then tried to comment out the
code that operates on that result set, but I still get no output.

Can anybody help?

Thanks,

Carlos.And if you take a look at the HTML source? Could be that you might have
added additional code and forgot to add the closing tag or forgot the end
quote of an attribute value or something.

Gabriel Lozano-Morn

"Carlos" <ch_sanin@.yahoo.com> wrote in message
news:OkOAkZaSFHA.3788@.tk2msftngp13.phx.gbl...
> Hi all,
> I have been working on an Asp .Net project that reports from a database.
> The project was going great, until all of a sudden the results stopped
> displaying!. I do not know if it is a buffering problem, the thing is that
> I did not get any warning at compilation time, and when trying to display
> output from within VS I did not see the labels with the values coming out
> of the database. I was able to get evrything perfect until I added a new
> datagrid to display a new result set. I then tried to comment out the
> code that operates on that result set, but I still get no output.
> Can anybody help?
> Thanks,
> Carlos.
Thank you Gabriel for your answer,

I noticed that I placed some initialization code inside the
initializeComponent() function, that got wiped out when I updated
the page while working in the designer pane (i.e. even the event handler
got removed..) is it not recommended to place code inside this function?

Please let me know if this function is something that I should not be
messing with... Thanks again,

Carlos.

"Gabriel Lozano-Morn" <gabriel.lozano@.no-spam.com> wrote in message
news:ODWYbraSFHA.3988@.tk2msftngp13.phx.gbl...
> And if you take a look at the HTML source? Could be that you might have
> added additional code and forgot to add the closing tag or forgot the end
> quote of an attribute value or something.
> Gabriel Lozano-Morn
> "Carlos" <ch_sanin@.yahoo.com> wrote in message
> news:OkOAkZaSFHA.3788@.tk2msftngp13.phx.gbl...
> > Hi all,
> > I have been working on an Asp .Net project that reports from a database.
> > The project was going great, until all of a sudden the results stopped
> > displaying!. I do not know if it is a buffering problem, the thing is
that
> > I did not get any warning at compilation time, and when trying to
display
> > output from within VS I did not see the labels with the values coming
out
> > of the database. I was able to get evrything perfect until I added a new
> > datagrid to display a new result set. I then tried to comment out the
> > code that operates on that result set, but I still get no output.
> > Can anybody help?
> > Thanks,
> > Carlos.

strange but true

Hi all,
I have been working on an Asp .Net project that reports from a database.
The project was going great, until all of a sudden the results stopped
displaying!. I do not know if it is a buffering problem, the thing is that
I did not get any warning at compilation time, and when trying to display
output from within VS I did not see the labels with the values coming out
of the database. I was able to get evrything perfect until I added a new
datagrid to display a new result set. I then tried to comment out the
code that operates on that result set, but I still get no output.
Can anybody help?
Thanks,
Carlos.And if you take a look at the HTML source? Could be that you might have
added additional code and forgot to add the closing tag or forgot the end
quote of an attribute value or something.
Gabriel Lozano-Morn
"Carlos" <ch_sanin@.yahoo.com> wrote in message
news:OkOAkZaSFHA.3788@.tk2msftngp13.phx.gbl...
> Hi all,
> I have been working on an Asp .Net project that reports from a database.
> The project was going great, until all of a sudden the results stopped
> displaying!. I do not know if it is a buffering problem, the thing is that
> I did not get any warning at compilation time, and when trying to display
> output from within VS I did not see the labels with the values coming out
> of the database. I was able to get evrything perfect until I added a new
> datagrid to display a new result set. I then tried to comment out the
> code that operates on that result set, but I still get no output.
> Can anybody help?
> Thanks,
> Carlos.
>
Thank you Gabriel for your answer,
I noticed that I placed some initialization code inside the
initializeComponent() function, that got wiped out when I updated
the page while working in the designer pane (i.e. even the event handler
got removed..) is it not recommended to place code inside this function?
Please let me know if this function is something that I should not be
messing with... Thanks again,
Carlos.
"Gabriel Lozano-Morn" <gabriel.lozano@.no-spam.com> wrote in message
news:ODWYbraSFHA.3988@.tk2msftngp13.phx.gbl...
> And if you take a look at the HTML source? Could be that you might have
> added additional code and forgot to add the closing tag or forgot the end
> quote of an attribute value or something.
> Gabriel Lozano-Morn
> "Carlos" <ch_sanin@.yahoo.com> wrote in message
> news:OkOAkZaSFHA.3788@.tk2msftngp13.phx.gbl...
that
display
out
>

Monday, March 26, 2012

strange error

My webform is working properly for an hour or so.. then suddenly it stops working. No matter what I put inside Page_Load(), Response.Redirect("hhsjdh.aspx"); for example, it doesn´t redirect or seem to care what I type.

I don´t get any errors or so, but empty tables since the mysql data is not fetched.

I have cleaned the cache and tried three different browsers. I rebuild the solution everytime I make a change in a code behind file.

I use sessions and mysql odbc driver 3.51 if that helps.Does the web server you posting to have a proxy server? Even some hardware firewalls come with proxy servers now. If so, it may have chached your page and you will need to clear the server's cache.
restart your IIS may help. type this in command line widow: iisreset /restart. It is possible that your IIS does not work properly.

Strange error

Hello,

I'm getting an error "Invalid pointer" with a javascript in my code. The script was working just fine and I don't know what caused it to stop working. I'm executing the script in a button's click event handler, so I tried to execute instead a simple javascript:


private void Button1_Click(object sender, System.EventArgs e)

{
Response.Write("<script>alert('Hi');</script>");
}

I'm getting the same error!

what could be causing the problem?

ThanksThis isn't another of the wonderfull windows XP service pack 2 glitches is it?

http://msdn.microsoft.com/security/productinfo/XPSP2/default.aspx

Regards

Jeff
Hi Jeff,

no I haven't made any changes to my Windows XP instalation and at first the code was working fine. I made some changes to the code but nothing related to the javascript.

Regards
Hi again,

I found the answer in other threads, should have searched before I ask. The error ocurs after setting SmartNavigatoin to true.

It's great to have a place for getting help!

Thank you all !

Saturday, March 24, 2012

Strange error in asp.net 1.1

I was working on a project in asp.net 1.1. I formatted my system & to save the project copied it to another drive in form of folder(which is stored in wwwroot directory). When i reinstalled windows & copied my project to wwwroot & tried running it in visual studio then following error came:

Web server is not configurd to debug the project. Please configure the web server.

Moreover when i use ' view in browser ' option then also it reports an error in web.config's authentication part.

What could be the possible reason and solution for this problem?

Make sure you have created the application as a valid application for the IIS ( virtual directory)

Thanks


Can u elaborate on that please. and what exactly i m supposed to do?

to create a virtual directory for your project

1- Right click My Computer/ select Manage.

2- Expand services and applications, expand Internet Information Services, Expand Website then Default Website.

3- right click your project folder, select properties, then click on "Create" beside the Application name

HC

Strange error in Asp.Net 2.0

Hello,

I created a web site, using VS2005 and Asp.Net 2.0, which is working fine in my computer.
I then compiled the web site and uploaded it to my server.

Everything works fine but I can't access to a page: News.aspx. I get the 500 browser error!
This page works fine in my computer and I can't find anything else different in it then in othe pages.

The error I get is:

------------------
Server Error in '/' Application.

Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) +65

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
------------------

Does anyone has any idea of what is going on here?

I allready tried everything I could think of.

Thanks,
MiguelSeen this error more than once. Actually your hosting company has a different security than your computer, look at the News.aspx, are you trying to write or read something from a file? What are you doing different? You can normally override that on the web.config, post the code behind on News.aspx.cs and I may be able to help you finding out what could be doing that.

The issue is MOST DEFINITELY an issue with your web host, although it's not an issue, more of their settings and what they allow, and it's clearly said in the error when it says

"Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file."

Not really sure where the question there is.. whatever you are trying to do is locked down by your host....this topic at the host i use has some good info on "medium trust"

good luck...


albertpascual:

Seen this error more than once. Actually your hosting company has a different security than your computer, look at the News.aspx, are you trying to write or read something from a file? What are you doing different? You can normally override that on the web.config, post the code behind on News.aspx.cs and I may be able to help you finding out what could be doing that.

That is the strange thing. I am not doing nothing more then usual.

Well, the only thing that might be different would be:

Dim from As String =CType(Web.Configuration.WebConfigurationManager.GetWebApplicationSection("system.net/mailSettings/smtp"),Net.Configuration.SmtpSection).From

In this web site I am working in VB.

Here is the code behind:

' -- [Classes] --------------

' News
Partial Class News
Inherits _BaseMaster

' -- [Page] --------------

Sub Page_PreInit(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.PreInit

' -- [Controls SkinIds] --------------

End Sub

Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Init

End Sub

Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim from As String = CType(Web.Configuration.WebConfigurationManager.GetWebApplicationSection("system.net/mailSettings/smtp"), Net.Configuration.SmtpSection).From

End Sub

' -- [Functions] --------------

Private Sub article_DataBinding()

' Display news article
If Not String.IsNullOrEmpty(HttpContext.Current.Request.QueryString("ArticleId")) Then

' Create by27aNews article
Dim by27aNews As New Article

' Define by27aNews properties
With by27aNews
.ConnectionString = ConfigurationManager.ConnectionStrings("dbAccess_JaquelineRoxoAtelier").ConnectionString
.Culture = System.Threading.Thread.CurrentThread.CurrentCulture.ToString()
.Id = Request.QueryString("ArticleId")
.Query = "web_News_SELECT_One"
.Load()
End With

' Create and format article's publication date
Dim articlePubDate As String = DateTime.Parse(by27aNews.PubDate).ToString(Resources.FormatString.DateTime_Full)
articlePubDate = Left(articlePubDate, 1).ToUpper & Right(articlePubDate, Len(articlePubDate) - 1)

' Bind article image
With iArticle
.AlternateText = by27aNews.Title
.ImageUrl = "~/Assets_Content/News/" & System.Threading.Thread.CurrentThread.CurrentCulture.ToString() & "/Images/" & by27aNews.Image
.ToolTip = by27aNews.Title
End With

' Bind article label
With lArticle
.Text = "<h1>" & by27aNews.Title & "</h1>" & _
"<p class=""pubDate"">" & articlePubDate & "</p>" & _
"<p class=""description"">" & by27aNews.Description & "</p>" & _
"<p class=""author"">" & by27aNews.Author.Split(New Char() {"(", ")"})(1) & "</p>"
End With

End If

End Sub

' -- [ASP.Net Controls] --------------

' ASP.Net Image | <Asp:Image
Private Sub iArticle_Init(ByVal sender As Object, ByVal e As EventArgs) Handles iArticle.Init

' Define iArticle properties
With iArticle
.CssClass = "iArticle"
.ImageAlign = ImageAlign.Right
End With

End Sub

' ASP.Net Label | <Asp:Label
Private Sub lArticle_Init(ByVal sender As Object, ByVal e As EventArgs) Handles lArticle.Init

' Define lArticle properties
With lArticle
.CssClass = "lArticle"
End With

End Sub

End Class

Thanks,

Miguel


Looks like you found it yourself, I bet you don't have access to that: Dim from As String = CType(Web.Configuration.WebConfigurationManager.GetWebApplicationSection("system.net/mailSettings/smtp"), Net.Configuration.SmtpSection).From

Take it out, re-publish and test it, if it works without, then go to your hosting company and send them a WTF emailSmile

Let me know

Strange error, fixed my adding/removing custom error page and web.config?!

Whilst working on my ASP.NET project, I have been encountering this rather strange error.

It seems that sometimes my page will break, and to fix it, ie make it load at least, i have to upload my custom error page and web.config file to the server, or remove them if they are there!


Why is this happening? and how can i possibly fix the problem so i can concentrate on making the main project work.

thankyou in advance.

Paul

Hi Mr_pablo,

Based on my understanding, your web application runs in the server. Sometimes, there are something wrong with your application about custom error page and web.config. If I have misunderstood you, please feel free to let me know.

To better understand your issue, could you please provide more detail information about the issue. For example:

When a page broke, what is happened in the server? Does it show a custom error page or something?

Strange Errors

Im having a problem with one of my pages. Basically what i have is a page where someone can upload files and its all working ok. I also a have option for them to delete files, if they click this they are brought to a separate page to confirm the delete. It all works find for the first file i delete but when i try to do it again, my directory.delete function works but my database delete doesnt ? any idea's?Its ok figured it out, had the parameters in the wrong order !
Deleting a directory in asp.net is tricky. Afetr you delete a directorythe application will restart and u will looase all ur session dat if uare using in-proc session. Here is a link explaining that
http://vikramlakhotia.com/Post.aspx?postID=6

Thursday, March 22, 2012

Strange FileNotFound Exception

Hi there

I'm working on .NET 2 beta 1 using master pages. The site i'm building works fine but sometimes i get a FileNotFound exception on all the pages for no reason. This is normally fixed by uploading a new copy of the files to the server.

Is this a known bug with .net 2 beta 1 or should i look into my server installation.

Any help would be great.

Hello.

Could you show us the complete error definition? I've been using asp.net in the last month and still haven't had any problems with it.

Strange IIS Problem

I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to
run ASP applications. I connect to the Internet using a LAN
connection. My PC is a standalone machine.
Of late, what I find is if I am not connected to the Internet, it
takes quite some time for local intranet ASP pages (that physically
reside in my PC) to get downloaded completely but if I am connected to
the Internet, then the same ASP pages get downloaded in a jiffy. Since
last 2-3 days, I have been noticing this strange problem. Earlier
local intranet ASP pages would get downloaded within no time
irrespective of whether I was connected to the Internet or not.
What could be the probable cause of this eccentricity & how do I
resolve it?
Please note that I have been working with the same setup (i.e. same IP
address to connect to the Internet, same ports etc.) since last 3-4
years but this is the first time I am encountering this problem.
Another petty discrepancy - usually whenever IE is opened (assuming
that the home page is set to 'about:blank'), the right-hand side of
the Status Bar shows the text 'Internet'. When a ASP page on the local
intranet is accessed, the text on the right-hand side of the Status
Bar in IE changes from 'Internet' to 'Local Intranet' but now I find
that even if a ASP page on the local intranet is accessed in IE, the
text on the right-hand side of the Status Bar still remains
'Internet'; it doesn't change to 'Local Intranet'!On Mar 1, 3:19 am, r...@.rediffmail.com wrote:
> I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to
> run ASP applications. I connect to the Internet using a LAN
> connection. My PC is a standalone machine.
> Of late, what I find is if I am not connected to the Internet, it
> takes quite some time for local intranet ASP pages (that physically
> reside in my PC) to get downloaded completely but if I am connected to
> the Internet, then the same ASP pages get downloaded in a jiffy. Since
> last 2-3 days, I have been noticing this strange problem. Earlier
> local intranet ASP pages would get downloaded within no time
> irrespective of whether I was connected to the Internet or not.
> What could be the probable cause of this eccentricity & how do I
> resolve it?
> Please note that I have been working with the same setup (i.e. same IP
> address to connect to the Internet, same ports etc.) since last 3-4
> years but this is the first time I am encountering this problem.
> Another petty discrepancy - usually whenever IE is opened (assuming
> that the home page is set to 'about :blank'), the right-hand side of
> the Status Bar shows the text 'Internet'. When a ASP page on the local
> intranet is accessed, the text on the right-hand side of the Status
> Bar in IE changes from 'Internet' to 'Local Intranet' but now I find
> that even if a ASP page on the local intranet is accessed in IE, the
> text on the right-hand side of the Status Bar still remains
> 'Internet'; it doesn't change to 'Local Intranet'!
let's assume that it's not related to ASP.NET :-)
It seems that you need to check LAN Settings in IE - Tools - Internet
Options. I think you should bypass proxy for local sites and except
the local addresses (for example 10.* if your intranet IP starts from
10.*)

Strange IIS Problem

I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to
run ASP applications. I connect to the Internet using a LAN
connection. My PC is a standalone machine.

Of late, what I find is if I am not connected to the Internet, it
takes quite some time for local intranet ASP pages (that physically
reside in my PC) to get downloaded completely but if I am connected to
the Internet, then the same ASP pages get downloaded in a jiffy. Since
last 2-3 days, I have been noticing this strange problem. Earlier
local intranet ASP pages would get downloaded within no time
irrespective of whether I was connected to the Internet or not.

What could be the probable cause of this eccentricity & how do I
resolve it?

Please note that I have been working with the same setup (i.e. same IP
address to connect to the Internet, same ports etc.) since last 3-4
years but this is the first time I am encountering this problem.

Another petty discrepancy - usually whenever IE is opened (assuming
that the home page is set to 'about:blank'), the right-hand side of
the Status Bar shows the text 'Internet'. When a ASP page on the local
intranet is accessed, the text on the right-hand side of the Status
Bar in IE changes from 'Internet' to 'Local Intranet' but now I find
that even if a ASP page on the local intranet is accessed in IE, the
text on the right-hand side of the Status Bar still remains
'Internet'; it doesn't change to 'Local Intranet'!On Mar 1, 3:19 am, r...@.rediffmail.com wrote:

Quote:

Originally Posted by

I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to
run ASP applications. I connect to the Internet using a LAN
connection. My PC is a standalone machine.
>
Of late, what I find is if I am not connected to the Internet, it
takes quite some time for local intranet ASP pages (that physically
reside in my PC) to get downloaded completely but if I am connected to
the Internet, then the same ASP pages get downloaded in a jiffy. Since
last 2-3 days, I have been noticing this strange problem. Earlier
local intranet ASP pages would get downloaded within no time
irrespective of whether I was connected to the Internet or not.
>
What could be the probable cause of this eccentricity & how do I
resolve it?
>
Please note that I have been working with the same setup (i.e. same IP
address to connect to the Internet, same ports etc.) since last 3-4
years but this is the first time I am encountering this problem.
>
Another petty discrepancy - usually whenever IE is opened (assuming
that the home page is set to 'about:blank'), the right-hand side of
the Status Bar shows the text 'Internet'. When a ASP page on the local
intranet is accessed, the text on the right-hand side of the Status
Bar in IE changes from 'Internet' to 'Local Intranet' but now I find
that even if a ASP page on the local intranet is accessed in IE, the
text on the right-hand side of the Status Bar still remains
'Internet'; it doesn't change to 'Local Intranet'!


let's assume that it's not related to ASP.NET :-)

It seems that you need to check LAN Settings in IE - Tools - Internet
Options. I think you should bypass proxy for local sites and except
the local addresses (for example 10.* if your intranet IP starts from
10.*)
I've been getting the exact same problem myself...IIS 5.1 is dog slow to return a localhost page.

Also started in the last few days. I've been searching all over to find a solution but no luck..

Seems to be tied into display of images, as htm pages with no images come up quickly.

Hope somebody who has found an answer, sees this.

<rn5a@.rediffmail.comwrote in message news:1172715577.007290.38550@.z35g2000cwz.googlegro ups.com...

Quote:

Originally Posted by

>I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to
run ASP applications. I connect to the Internet using a LAN
connection. My PC is a standalone machine.
>
Of late, what I find is if I am not connected to the Internet, it
takes quite some time for local intranet ASP pages (that physically
reside in my PC) to get downloaded completely but if I am connected to
the Internet, then the same ASP pages get downloaded in a jiffy. Since
last 2-3 days, I have been noticing this strange problem. Earlier
local intranet ASP pages would get downloaded within no time
irrespective of whether I was connected to the Internet or not.
>
What could be the probable cause of this eccentricity & how do I
resolve it?
>
Please note that I have been working with the same setup (i.e. same IP
address to connect to the Internet, same ports etc.) since last 3-4
years but this is the first time I am encountering this problem.
>
Another petty discrepancy - usually whenever IE is opened (assuming
that the home page is set to 'about:blank'), the right-hand side of
the Status Bar shows the text 'Internet'. When a ASP page on the local
intranet is accessed, the text on the right-hand side of the Status
Bar in IE changes from 'Internet' to 'Local Intranet' but now I find
that even if a ASP page on the local intranet is accessed in IE, the
text on the right-hand side of the Status Bar still remains
'Internet'; it doesn't change to 'Local Intranet'!
>

Tuesday, March 13, 2012

Strange problem submit button not working

Hi,
I have encountered a strange problem with an asp.net application. I have the
same code deployed on staging and production. On clicking the submit button
the app is supposed to send an email.
This works fine on staging environment for both Netscape and IE.
But on production (it has multiple servers) for some reason it fails in IE
but works in Netscape. So if I now click on submit nothing happens on
production.
Both the environments have the same code. Has anyone ever encountered this.
Not sure if this is the correct place for such a problem, if any one knows a
more suitable group please let me know.
Really puzzled here..any help will be really appreciated.
Thanks!Are using Validation? Are you familiar with the bug in Service Pack 1
for .NET v1.1 ? There's an issue with a WebUIValidation.js file. Could
the production server have intalled this SP1? An interesting page
pertaining to this is here and mention of a fix.
http://weblogs.asp.net/pwilson/arch.../16/230591.aspx
On Tue, 12 Oct 2004 11:33:06 -0700, "jbhan"
<jbhan@.discussions.microsoft.com> wrote:

>Hi,
>I have encountered a strange problem with an asp.net application. I have th
e
>same code deployed on staging and production. On clicking the submit button
>the app is supposed to send an email.
>This works fine on staging environment for both Netscape and IE.
>But on production (it has multiple servers) for some reason it fails in IE
>but works in Netscape. So if I now click on submit nothing happens on
>production.
>Both the environments have the same code. Has anyone ever encountered this.
>Not sure if this is the correct place for such a problem, if any one knows
a
>more suitable group please let me know.
>Really puzzled here..any help will be really appreciated.
>Thanks!
Thanks for the reply. I did come across this but when I inquired about the O
S
and service pack on the production server, they said it was Windows 2000
Service Pack 4 and thats for both the staging and production. They also
mentioned that they have not applied any other update or service pack.
I am thinking maybe the best option is not to use the validators at all?
They just cause problems all the time!
Any ideas?
Thanks,
jbhan
"JuLiE Dxer" wrote:

> Are using Validation? Are you familiar with the bug in Service Pack 1
> for .NET v1.1 ? There's an issue with a WebUIValidation.js file. Could
> the production server have intalled this SP1? An interesting page
> pertaining to this is here and mention of a fix.
>
> http://weblogs.asp.net/pwilson/arch.../16/230591.aspx
>
> On Tue, 12 Oct 2004 11:33:06 -0700, "jbhan"
> <jbhan@.discussions.microsoft.com> wrote:
>
>

Strange problem submit button not working

Hi,

I have encountered a strange problem with an asp.net application. I have the
same code deployed on staging and production. On clicking the submit button
the app is supposed to send an email.
This works fine on staging environment for both netscape and IE.

But on production (it has multiple servers) for some reason it fails in IE
but works in Netscape. So if I now click on submit nothing happens on
production.

Both the environments have the same code. Has anyone ever encountered this.
Not sure if this is the correct place for such a problem, if any one knows a
more suitable group please let me know.
Really puzzled here..any help will be really appreciated.

Thanks!Are using Validation? Are you familiar with the bug in Service Pack 1
for .NET v1.1 ? There's an issue with a WebUIValidation.js file. Could
the production server have intalled this SP1? An interesting page
pertaining to this is here and mention of a fix.

http://weblogs.asp.net/pwilson/arch.../16/230591.aspx

On Tue, 12 Oct 2004 11:33:06 -0700, "jbhan"
<jbhan@.discussions.microsoft.com> wrote:

>Hi,
>I have encountered a strange problem with an asp.net application. I have the
>same code deployed on staging and production. On clicking the submit button
>the app is supposed to send an email.
>This works fine on staging environment for both netscape and IE.
>But on production (it has multiple servers) for some reason it fails in IE
>but works in Netscape. So if I now click on submit nothing happens on
>production.
>Both the environments have the same code. Has anyone ever encountered this.
>Not sure if this is the correct place for such a problem, if any one knows a
>more suitable group please let me know.
>Really puzzled here..any help will be really appreciated.
>Thanks!
Thanks for the reply. I did come across this but when I inquired about the OS
and service pack on the production server, they said it was Windows 2000
Service Pack 4 and thats for both the staging and production. They also
mentioned that they have not applied any other update or service pack.

I am thinking maybe the best option is not to use the validators at all?
They just cause problems all the time!

Any ideas?

Thanks,
jbhan

"JuLiE Dxer" wrote:

> Are using Validation? Are you familiar with the bug in Service Pack 1
> for .NET v1.1 ? There's an issue with a WebUIValidation.js file. Could
> the production server have intalled this SP1? An interesting page
> pertaining to this is here and mention of a fix.
>
> http://weblogs.asp.net/pwilson/arch.../16/230591.aspx
>
> On Tue, 12 Oct 2004 11:33:06 -0700, "jbhan"
> <jbhan@.discussions.microsoft.com> wrote:
> >Hi,
> >I have encountered a strange problem with an asp.net application. I have the
> >same code deployed on staging and production. On clicking the submit button
> >the app is supposed to send an email.
> >This works fine on staging environment for both netscape and IE.
> >But on production (it has multiple servers) for some reason it fails in IE
> >but works in Netscape. So if I now click on submit nothing happens on
> >production.
> >Both the environments have the same code. Has anyone ever encountered this.
> >Not sure if this is the correct place for such a problem, if any one knows a
> >more suitable group please let me know.
> >Really puzzled here..any help will be really appreciated.
> >Thanks!
>