473,320 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

FORMS NOT SUBMITTING DUE, IIS CRASH: appSettings KEY in web.confi

We have a contact us page that is used throughout our sites. I have over the
last few days modified all sites to obtain information from Application
Settings.

It is a simple form that when ran on the server sends an email using keys in
application settings block of the web.config file.

I have played about with the key and sometimes it works and sometimes does
not. The key seems to be crashing IIS on Windows Server 2003 SP1.

The key reads as follows:

<add key="contactUsFormSmallText" value="All Quotes sre subject to change.
Telephone calls and faxes are only accepted between our published office
working hours. Calls may be recorded for training and security purposes."/>

if I change the key to have no value or just the value test all works fine.

I have loads of other keys that even contain longer values. I have typed the
values and tried to alter the value but still get my problem. When I try and
clcik the submit button on the form with codebehind nothing happens, it does
not seem to even send anything back to the server.

Any ideas?

Nov 19 '05 #1
4 1453
Is the key written out on the same line ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Dr. Paul Caesar - CoullByte (UK) Limited"
<Dr****************************@discussions.micros oft.com> wrote in message
news:0E**********************************@microsof t.com...
We have a contact us page that is used throughout our sites. I have over the
last few days modified all sites to obtain information from Application
Settings.

It is a simple form that when ran on the server sends an email using keys in
application settings block of the web.config file.

I have played about with the key and sometimes it works and sometimes does
not. The key seems to be crashing IIS on Windows Server 2003 SP1.

The key reads as follows:

<add key="contactUsFormSmallText" value="All Quotes sre subject to change.
Telephone calls and faxes are only accepted between our published office
working hours. Calls may be recorded for training and security purposes."/>

if I change the key to have no value or just the value test all works fine.

I have loads of other keys that even contain longer values. I have typed the
values and tried to alter the value but still get my problem. When I try and
clcik the submit button on the form with codebehind nothing happens, it does
not seem to even send anything back to the server.

Any ideas?

Nov 19 '05 #2
no, all on seperate lines.

The web.config file on the other web sites also having same problem with
similar key values.

using VS2003 Framework 1.1

"Juan T. Llibre" wrote:
Is the key written out on the same line ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Dr. Paul Caesar - CoullByte (UK) Limited"
<Dr****************************@discussions.micros oft.com> wrote in message
news:0E**********************************@microsof t.com...
We have a contact us page that is used throughout our sites. I have over the
last few days modified all sites to obtain information from Application
Settings.

It is a simple form that when ran on the server sends an email using keys in
application settings block of the web.config file.

I have played about with the key and sometimes it works and sometimes does
not. The key seems to be crashing IIS on Windows Server 2003 SP1.

The key reads as follows:

<add key="contactUsFormSmallText" value="All Quotes sre subject to change.
Telephone calls and faxes are only accepted between our published office
working hours. Calls may be recorded for training and security purposes."/>

if I change the key to have no value or just the value test all works fine.

I have loads of other keys that even contain longer values. I have typed the
values and tried to alter the value but still get my problem. When I try and
clcik the submit button on the form with codebehind nothing happens, it does
not seem to even send anything back to the server.

Any ideas?


Nov 19 '05 #3
I can display it fine as it is.

<appSettings>
<add key="contactUsFormSmallText" value="All Quotes sre subject to change.
Telephone calls and faxes are only accepted between our published office
working hours. Calls may be recorded for training and security purposes."/>
</appSettings>

And then, in the aspx :

Dim MyKey As String = ConfigurationSettings.AppSettings("contactUsFormSm allText")
key1.Text = MyKey

See it running at : http://asp.net.do/test/testappsettingskey.aspx

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Dr. Paul Caesar - CoullByte (UK) Limited"
<Dr****************************@discussions.micros oft.com> wrote in message
news:1B**********************************@microsof t.com...
no, all on seperate lines.

The web.config file on the other web sites also having same problem with
similar key values.

using VS2003 Framework 1.1

"Juan T. Llibre" wrote:
Is the key written out on the same line ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Dr. Paul Caesar - CoullByte (UK) Limited"
<Dr****************************@discussions.micros oft.com> wrote in message
news:0E**********************************@microsof t.com...
> We have a contact us page that is used throughout our sites. I have over the
> last few days modified all sites to obtain information from Application
> Settings.
>
> It is a simple form that when ran on the server sends an email using keys in
> application settings block of the web.config file.
>
> I have played about with the key and sometimes it works and sometimes does
> not. The key seems to be crashing IIS on Windows Server 2003 SP1.
>
> The key reads as follows:
>
> <add key="contactUsFormSmallText" value="All Quotes sre subject to change.
> Telephone calls and faxes are only accepted between our published office
> working hours. Calls may be recorded for training and security purposes."/>
>
> if I change the key to have no value or just the value test all works fine.
>
> I have loads of other keys that even contain longer values. I have typed the
> values and tried to alter the value but still get my problem. When I try and
> clcik the submit button on the form with codebehind nothing happens, it does
> not seem to even send anything back to the server.
>
> Any ideas?


Nov 19 '05 #4
Am currently looking to see if the < etc may effect my code.

"Juan T. Llibre" wrote:
I can display it fine as it is.

<appSettings>
<add key="contactUsFormSmallText" value="All Quotes sre subject to change.
Telephone calls and faxes are only accepted between our published office
working hours. Calls may be recorded for training and security purposes."/>
</appSettings>

And then, in the aspx :

Dim MyKey As String = ConfigurationSettings.AppSettings("contactUsFormSm allText")
key1.Text = MyKey

See it running at : http://asp.net.do/test/testappsettingskey.aspx

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Dr. Paul Caesar - CoullByte (UK) Limited"
<Dr****************************@discussions.micros oft.com> wrote in message
news:1B**********************************@microsof t.com...
no, all on seperate lines.

The web.config file on the other web sites also having same problem with
similar key values.

using VS2003 Framework 1.1

"Juan T. Llibre" wrote:
Is the key written out on the same line ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Dr. Paul Caesar - CoullByte (UK) Limited"
<Dr****************************@discussions.micros oft.com> wrote in message
news:0E**********************************@microsof t.com...
> We have a contact us page that is used throughout our sites. I have over the
> last few days modified all sites to obtain information from Application
> Settings.
>
> It is a simple form that when ran on the server sends an email using keys in
> application settings block of the web.config file.
>
> I have played about with the key and sometimes it works and sometimes does
> not. The key seems to be crashing IIS on Windows Server 2003 SP1.
>
> The key reads as follows:
>
> <add key="contactUsFormSmallText" value="All Quotes sre subject to change.
> Telephone calls and faxes are only accepted between our published office
> working hours. Calls may be recorded for training and security purposes."/>
>
> if I change the key to have no value or just the value test all works fine.
>
> I have loads of other keys that even contain longer values. I have typed the
> values and tried to alter the value but still get my problem. When I try and
> clcik the submit button on the form with codebehind nothing happens, it does
> not seem to even send anything back to the server.
>
> Any ideas?


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Krista | last post by:
Hi everybody, I think my confi has some problems. Can you guys help me to see what is going on? i install Apache2.0.48 and Php4.3.4 in WinXP. I add some codes in httpd(inside apache...
2
by: belzibob | last post by:
I have inherited a table where each row is a <form> Each of these rows has only four columns, those being: 1) Item number 4) Quantity (blank textbox to fill in) 3) Description 4) Add link (to...
1
by: roni | last post by:
hi. i have vb.net application , with Managed C++ dll that wrap unmanaged dll. i also have bug that crash the application. the crash happen because i dont use the unmanaged dll (which is...
0
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET...
7
by: Rob | last post by:
I'm not sure if I'm missing something but my forms authentication doesn't work. I'm trying to access my page and I should be redirected to login.aspx but it just let's me access the page. Here's...
6
by: SalamElias | last post by:
I have an application where I added the attribute requireSSL="false" in the authentification elemnt in the dev environment and the apllication compile with no problem. What I want to do is, In...
5
by: Cesar | last post by:
Hello, I have an application that is using forms authentication and it seems to be working fine most of the time. Unfortunatelly, it sometimes just redirects me to the login screen. It seems that...
34
by: Luke | last post by:
Hi! I am new to PHP but I am a very experienced in Perl/CGI/templates. I work in medical informatics when we deal with very large data collection forms. Some of them have over 1000 elements!...
4
by: paratge | last post by:
Hi, I'm updating one form in an iframe, with another in a main page. That works fine, th probliem is how to submit two forms with one click. For now i get an error "permission denied" how can...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.