 |
|
 |
|
Next: IIS6 time stamp in logs
|
| Author |
Message |
External

Since: Nov 11, 2004 Posts: 12
|
(Msg. 1) Posted: Tue Dec 14, 2004 2:27 pm
Post subject: IIS6 issue Archived from groups: microsoft>public>inetserver>iis (more info?)
|
|
|
our developer has a page where admin can add users, there is several fields
required on this page (first, last name, ect.) as long as application is on
IIS 5 everything work fine, meaning if fields are empty and you try to add
user you will get error messages next to boxes, it does not work on IIS 6...
click add and it's adding empty field to SQL db ???
I did some research on google and found following post elswhere:
In 5.0 you use ASPNET account for your ASP.NET applications when you want
access to certain items. In 6.0 you need to use the IIS_WPG account.
- "In our particular case, we were configuring ADAM(Active Directory
Application Mode) to be able to connect with calls coming from a webservice.
On the developer's box using Window XP and IIS 5, the ASPNET account was
added. Everything worked fine. We then did a promotion to another machine,
but this one was running Windows Server 2003 and hence IIS 6. We added the
ASPNET account as we thought we had to but to no avail in Windows Server
2003. After spending a bit of time trying to figure out the problem, and
using the frequent developer used phrase, “IT WORKED ON MY MACHINE“, the
IIS_WPG account was added.
After everything was working, I looked on MSDN concerning the IIS_WPG
account, and it is specified all over the place that you need to use this
account in IIS 6.0." -
it's also pointing to microsoft kb:
http://www.microsoft.com/resources/documentation/WindowsServ/2003/stan...d/prodd
but I have no clue if this is revalent in our situation...
does any one know what I need to change in IIS 6 in order to make this work? >> Stay informed about: IIS6 issue |
|
| Back to top |
|
 |  |
External

Since: Jun 10, 2004 Posts: 1807
|
(Msg. 2) Posted: Tue Dec 14, 2004 11:35 pm
Post subject: Re: IIS6 issue [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Tue, 14 Dec 2004 14:27:01 -0800, "Rafal W."
<RafalW.RemoveThis@discussions.microsoft.com> wrote:
>our developer has a page where admin can add users, there is several fields
>required on this page (first, last name, ect.) as long as application is on
>IIS 5 everything work fine, meaning if fields are empty and you try to add
>user you will get error messages next to boxes, it does not work on IIS 6...
>click add and it's adding empty field to SQL db ???
>I did some research on google and found following post elswhere:
>In 5.0 you use ASPNET account for your ASP.NET applications when you want
>access to certain items. In 6.0 you need to use the IIS_WPG account.
>
>- "In our particular case, we were configuring ADAM(Active Directory
>Application Mode) to be able to connect with calls coming from a webservice.
>On the developer's box using Window XP and IIS 5, the ASPNET account was
>added. Everything worked fine. We then did a promotion to another machine,
>but this one was running Windows Server 2003 and hence IIS 6. We added the
>ASPNET account as we thought we had to but to no avail in Windows Server
>2003. After spending a bit of time trying to figure out the problem, and
>using the frequent developer used phrase, “IT WORKED ON MY MACHINE“, the
>IIS_WPG account was added.
>
>After everything was working, I looked on MSDN concerning the IIS_WPG
>account, and it is specified all over the place that you need to use this
>account in IIS 6.0." -
>
>it's also pointing to microsoft kb:
>http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/aaconruntimeprocessisolation.asp
>
>but I have no clue if this is revalent in our situation...
>does any one know what I need to change in IIS 6 in order to make this work?
Hate to say but I'm not sure I even understand what's not working. It
looks like you've added some validation controls to an ASPX web form,
and they aren't validating they way you wish. Have you checked the
code? Have you used the debugging tools in VisualStudio.NET to help?
Jeff<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: IIS6 issue |
|
| Back to top |
|
 |  |
External

Since: Aug 23, 2003 Posts: 3146
|
(Msg. 3) Posted: Wed Dec 15, 2004 10:35 am
Post subject: Re: IIS6 issue [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hello,
> click add and it's adding empty field to SQL db ???
Does this mean:
1) It does not matter what you type in the form. After you click on the add
button, an empty field is written into the database.
2) If all fields are empty, and you click the add button, it will not
perform the necessary checks to verify that all fields are filled in.
In case of 1), you will need to debug it. It does not seem like a permission
problem, because something is written to the database. But the data does not
transfer to the database by some reason.
In case of 2), how are you doing the verification?
Are both IIS machines using the same .NET version?
It looks like a problem with ASP.NET, and not IIS. You might want to ask in
the ASP.NET newsgroup as well.
--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">http://www.ilopia.com</a>
"Rafal W." <RafalW.RemoveThis@discussions.microsoft.com> wrote in message
news:15557183-1C3E-4ECB-A40E-D95FF4AB4622@microsoft.com...
> our developer has a page where admin can add users, there is several
> fields
> required on this page (first, last name, ect.) as long as application is
> on
> IIS 5 everything work fine, meaning if fields are empty and you try to add
> user you will get error messages next to boxes, it does not work on IIS
> 6...
> click add and it's adding empty field to SQL db ???
> I did some research on google and found following post elswhere:
> In 5.0 you use ASPNET account for your ASP.NET applications when you want
> access to certain items. In 6.0 you need to use the IIS_WPG account.
>
> - "In our particular case, we were configuring ADAM(Active Directory
> Application Mode) to be able to connect with calls coming from a
> webservice.
> On the developer's box using Window XP and IIS 5, the ASPNET account was
> added. Everything worked fine. We then did a promotion to another
> machine,
> but this one was running Windows Server 2003 and hence IIS 6. We added
> the
> ASPNET account as we thought we had to but to no avail in Windows Server
> 2003. After spending a bit of time trying to figure out the problem, and
> using the frequent developer used phrase, "IT WORKED ON MY MACHINE", the
> IIS_WPG account was added.
>
> After everything was working, I looked on MSDN concerning the IIS_WPG
> account, and it is specified all over the place that you need to use this
> account in IIS 6.0." -
>
> it's also pointing to microsoft kb:
<font color=purple> > <a style='text-decoration: underline;' href="http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/aaconruntimeprocessisolation.asp</font" target="_blank">http://www.microsoft.com/resources/documentation/WindowsServ/2003/stan...d/prodd</a>>
>
> but I have no clue if this is revalent in our situation...
> does any one know what I need to change in IIS 6 in order to make this
> work?
><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: IIS6 issue |
|
| Back to top |
|
 |  |
External

Since: Nov 11, 2004 Posts: 12
|
(Msg. 4) Posted: Wed Dec 15, 2004 10:35 am
Post subject: Re: IIS6 issue [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
option 2. if you leave fields empty and click add button, it will not
perform the necessary checks to verify that all fields are filled in...
instead it's adding empty row to db...
It works on IIS5.... both servers (w2k and 2003) have all latest ms updates
(including .net framework 1.1). I'm network person who have to deploy this
application on web server, I was given this app by our dev person and since
this is working on IIS5 (w2k and xp) she believes this is web server settings
not a problem with her application, in my original post I pasted someone
elses finding regrding ASPNET and IIS_WPG accounts hopping this will put
some lights on it.
in addition what I can say as far as I know, is that id dev person uses
"summary error" (does not mean anything for me) on the page it works
regardless what IIS "individuals errors" ??? hope I'm using right
terminology, works only on IIS5.
Thanks
"Kristofer Gafvert" wrote:
> Hello,
>
> > click add and it's adding empty field to SQL db ???
>
> Does this mean:
>
> 1) It does not matter what you type in the form. After you click on the add
> button, an empty field is written into the database.
>
> 2) If all fields are empty, and you click the add button, it will not
> perform the necessary checks to verify that all fields are filled in.
>
> In case of 1), you will need to debug it. It does not seem like a permission
> problem, because something is written to the database. But the data does not
> transfer to the database by some reason.
>
> In case of 2), how are you doing the verification?
>
> Are both IIS machines using the same .NET version?
>
> It looks like a problem with ASP.NET, and not IIS. You might want to ask in
> the ASP.NET newsgroup as well.
>
> --
> Regards,
> Kristofer Gafvert
<font color=purple> > <a style='text-decoration: underline;' href="http://www.ilopia.com</font" target="_blank">http://www.ilopia.com</font</a>>
><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: IIS6 issue |
|
| Back to top |
|
 |  |
External

Since: Aug 23, 2003 Posts: 3146
|
(Msg. 5) Posted: Wed Dec 15, 2004 1:35 pm
Post subject: Re: IIS6 issue [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hello,
Can you please try to run this in a cmd prompt:
C:\Windows\microsoft.net\framework\[version]\aspnet_regiis.exe -c
change [version] to the version that you are using (i cannot remember all
the numbers right now). If you have multiple websites, install it for the
correct website (you will have to use some additional switches, write
aspnet_regiis /?)
This will install the client side scripts.
Now check the page, does it work? If so, it seems like you (the developer)
are by-passing the server side checking (and that is why it writes to the
database), because what is installed is only client side scripts. But i'm
not an ASP.NET expert, so i cannot tell how the validation actually works
(unless i go and read the books i have here  . But if i am correct, this
would be a security issue.
--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">http://www.ilopia.com</a>
"Rafal W." <RafalW DeleteThis @discussions.microsoft.com> wrote in message
news:40CE9E66-625B-49DA-8971-7E410E969BFA@microsoft.com...
> option 2. if you leave fields empty and click add button, it will not
> perform the necessary checks to verify that all fields are filled in...
> instead it's adding empty row to db...
> It works on IIS5.... both servers (w2k and 2003) have all latest ms
> updates
> (including .net framework 1.1). I'm network person who have to deploy this
> application on web server, I was given this app by our dev person and
> since
> this is working on IIS5 (w2k and xp) she believes this is web server
> settings
> not a problem with her application, in my original post I pasted someone
> elses finding regrding ASPNET and IIS_WPG accounts hopping this will put
> some lights on it.
> in addition what I can say as far as I know, is that id dev person uses
> "summary error" (does not mean anything for me) on the page it works
> regardless what IIS "individuals errors" ??? hope I'm using right
> terminology, works only on IIS5.
>
> Thanks
> "Kristofer Gafvert" wrote:
>
>> Hello,
>>
>> > click add and it's adding empty field to SQL db ???
>>
>> Does this mean:
>>
>> 1) It does not matter what you type in the form. After you click on the
>> add
>> button, an empty field is written into the database.
>>
>> 2) If all fields are empty, and you click the add button, it will not
>> perform the necessary checks to verify that all fields are filled in.
>>
>> In case of 1), you will need to debug it. It does not seem like a
>> permission
>> problem, because something is written to the database. But the data does
>> not
>> transfer to the database by some reason.
>>
>> In case of 2), how are you doing the verification?
>>
>> Are both IIS machines using the same .NET version?
>>
>> It looks like a problem with ASP.NET, and not IIS. You might want to ask
>> in
>> the ASP.NET newsgroup as well.
>>
>> --
>> Regards,
>> Kristofer Gafvert
<font color=green> >> <a style='text-decoration: underline;' href="http://www.ilopia.com</font" target="_blank">http://www.ilopia.com</font</a>>
>><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: IIS6 issue |
|
| Back to top |
|
 |  |
External

Since: Nov 11, 2004 Posts: 12
|
(Msg. 6) Posted: Wed Dec 15, 2004 8:07 pm
Post subject: Re: IIS6 issue [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hello Kris,
I have done this previously but did not work, this has something to do with
how IIS6 works.... please take a look at following link
<a style='text-decoration: underline;' href="http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/aaconruntimeprocessisolation.asp" target="_blank">http://www.microsoft.com/resources/documentation/WindowsServ/2003/stan...d/prodd</a>
I did go thru this myself but I'm lost... do you have any idea what are they
trying to say? I switched IIS6 to work in "isolated mode" still no luck, I
also tried to add IIS_WPG account to Network Services group nothing changed.
By the way our dev is using here client site scripting for whatever reason
it does not work on IIS6 (I already tried few IIS6... same outcome)
"Kristofer Gafvert" wrote:
> Hello,
>
> Can you please try to run this in a cmd prompt:
> C:\Windows\microsoft.net\framework\[version]\aspnet_regiis.exe -c
>
> change [version] to the version that you are using (i cannot remember all
> the numbers right now). If you have multiple websites, install it for the
> correct website (you will have to use some additional switches, write
> aspnet_regiis /?)
>
> This will install the client side scripts.
>
> Now check the page, does it work? If so, it seems like you (the developer)
> are by-passing the server side checking (and that is why it writes to the
> database), because what is installed is only client side scripts. But i'm
> not an ASP.NET expert, so i cannot tell how the validation actually works
> (unless i go and read the books i have here . But if i am correct, this
> would be a security issue.
>
> --
> Regards,
> Kristofer Gafvert
<font color=purple> > <a style='text-decoration: underline;' href="http://www.ilopia.com</font" target="_blank">http://www.ilopia.com</font</a>><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: IIS6 issue |
|
| Back to top |
|
 |  |
External

Since: Aug 23, 2003 Posts: 3146
|
(Msg. 7) Posted: Thu Dec 16, 2004 3:35 am
Post subject: Re: IIS6 issue [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hello,
IIS 6.0 does not execute client side scripts. It only sends the script code
to the client, and the client is responsible for executing the code. Is the
problem that the client side scripts does not execute?
If the client does not allow scripting (which is default on IE in Windows
Server 2003), the client side scripts will not execute. And also (of
course), if IIS does not send the scripts to the client, the client cannot
execute them.
Can you please search thru your IIS log file and see if you have any
requests for the file WebUIValidation.js? If you have requests for this
file, what is the status code? (404 or 200?)
I don't think that this is related to the IIS_WPG group.
--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">http://www.ilopia.com</a>
"Rafal W." <RafalW.RemoveThis@discussions.microsoft.com> wrote in message
news:916561A3-9BC5-41B8-91FD-55487FE070E1@microsoft.com...
> Hello Kris,
>
> I have done this previously but did not work, this has something to do
> with
> how IIS6 works.... please take a look at following link
>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/aaconruntimeprocessisolation.asp</font" target="_blank">http://www.microsoft.com/resources/documentation/WindowsServ/2003/stan...d/prodd</a>>
>
> I did go thru this myself but I'm lost... do you have any idea what are
> they
> trying to say? I switched IIS6 to work in "isolated mode" still no luck, I
> also tried to add IIS_WPG account to Network Services group nothing
> changed.
> By the way our dev is using here client site scripting for whatever reason
> it does not work on IIS6 (I already tried few IIS6... same outcome)
>
>
>
> "Kristofer Gafvert" wrote:
>
>> Hello,
>>
>> Can you please try to run this in a cmd prompt:
>> C:\Windows\microsoft.net\framework\[version]\aspnet_regiis.exe -c
>>
>> change [version] to the version that you are using (i cannot remember all
>> the numbers right now). If you have multiple websites, install it for the
>> correct website (you will have to use some additional switches, write
>> aspnet_regiis /?)
>>
>> This will install the client side scripts.
>>
>> Now check the page, does it work? If so, it seems like you (the
>> developer)
>> are by-passing the server side checking (and that is why it writes to the
>> database), because what is installed is only client side scripts. But i'm
>> not an ASP.NET expert, so i cannot tell how the validation actually works
>> (unless i go and read the books i have here . But if i am correct,
>> this
>> would be a security issue.
>>
>> --
>> Regards,
>> Kristofer Gafvert
<font color=green> >> <a style='text-decoration: underline;' href="http://www.ilopia.com</font" target="_blank">http://www.ilopia.com</font</a>>
><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: IIS6 issue |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|