[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

newbie webservices question - build errors in WeatherService sample app

will eichert

9/2/2003 10:22:00 PM

Greetings. I'm trying to build the WeatherService sample for .Net Web
Services, and can't get it to build correctly. I keep getting the
following error:

Copied file from c:\Documents and Settings\myname.mydomain\My
Documents\Samples\Visual C++ .NET
2003\atlserver\soap\WeatherService\Weatherisapi\Debug\weatherisapi.dll
to c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll

vcdeploy : error VCD0038: An error occurred registering the ISAPI
extension. Make sure the extension is located at the correct path in
the virtual directory.

I verified that weatherisapi.dll is actually in the
c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll directory, and the
virtual directory is setup. Also as far as I can tell the application
mappings are setup correctly.

Can anyone help? If not can anyone direct me to a more appropriate
place to get help on this? All I'm trying to do is build the Microsoft
sample app...

Thanks,

Will



5 Answers

will eichert

9/3/2003 5:17:00 PM

0

Lewis,

Thanks for your response. I read the knowledge base article, and it
looks like this is indeed the problem I am having. Unfortunately, I am
new to this environment (I've done plenty of Visual Studio
programming, but I'm new to .NET), and I have no idea how to fix this
problem.

from the KB Q315767 article:
"Performance monitor counters have a description that is associated
with each counter. This description is inside the string resource that
is loaded by the counter. Resources are associated with a particular
language and must match the target operating system language. This is
enforced at link time. To display the descriptions of the various
counters that define in the sample correctly and that define in the
specified operating system language, the operating system language and
the language of the performance resource must match. If the language
of the resource and the language of the operating system differ, the
link is not successful. When you compile the sample you must make sure
that the resource language matches the target operating system. "

I don't know where the resource language or the operating system
language settings can be changed. It seems like the Knowledge Base
article stops a little short of describing the resolution, unless I'm
being a complete dumbass... Any hints?

Thanks,

Will

On Wed, 03 Sep 2003 13:16:35 GMT, v-lwang@online.microsoft.com (Lewis
Wang [MSFT]) wrote:

>Hi Will,
>
>The following is a KB article about the problem, you may check it for your
>reference.
>
>INFO: Linking ATL Server PerfMon Counters to Language Resource for Target OS
>http://support.microsoft.com/...
>
>Hope this helps.
>
>Best regards,
>Lewis
>
>This posting is provided "AS IS" with no warranties, and confers no rights.
>
>--------------------
>| From: will eichert <wfeichert@ucdavis.edu>
>| Subject: newbie webservices question - build errors in WeatherService
>sample app
>| Date: Tue, 02 Sep 2003 15:21:39 -0700
>| Message-ID: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
>| X-Newsreader: Forte Agent 1.91/32.564
>| MIME-Version: 1.0
>| Content-Type: text/plain; charset=us-ascii
>| Content-Transfer-Encoding: 7bit
>| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
>| NNTP-Posting-Host: 128.120.248.34
>| Lines: 1
>| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
>| Xref: cpmsftngxa06.phx.gbl
>microsoft.public.dotnet.framework.aspnet.webservices:19147
>| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>|
>| Greetings. I'm trying to build the WeatherService sample for .Net Web
>| Services, and can't get it to build correctly. I keep getting the
>| following error:
>|
>| Copied file from c:\Documents and Settings\myname.mydomain\My
>| Documents\Samples\Visual C++ .NET
>| 2003\atlserver\soap\WeatherService\Weatherisapi\Debug\weatherisapi.dll
>| to c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll
>|
>| vcdeploy : error VCD0038: An error occurred registering the ISAPI
>| extension. Make sure the extension is located at the correct path in
>| the virtual directory.
>|
>| I verified that weatherisapi.dll is actually in the
>| c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll directory, and the
>| virtual directory is setup. Also as far as I can tell the application
>| mappings are setup correctly.
>|
>| Can anyone help? If not can anyone direct me to a more appropriate
>| place to get help on this? All I'm trying to do is build the Microsoft
>| sample app...
>|
>| Thanks,
>|
>| Will
>|
>|
>|
>|

v-lwang

9/4/2003 9:11:00 AM

0

Hi Will,

You may set default language for the system to be English(United States) in
Control Panel->Regional Options->General->Language setting for the system.
Press "Set default" and select the appropriate locale to be English(United
States).

Hope this helps.

Best regards,
Lewis
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: will eichert <wfeichert@ucdavis.edu>
| Subject: Re: newbie webservices question - build errors in WeatherService
sample app
| Date: Wed, 03 Sep 2003 17:34:19 -0700
| Message-ID: <pv1dlv4es02emf4hpnd01m9cbncih96fg5@4ax.com>
| References: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
<dNPKd2hcDHA.2116@cpmsftngxa06.phx.gbl>
| X-Newsreader: Forte Agent 1.91/32.564
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| NNTP-Posting-Host: 128.120.248.34
| Lines: 1
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:19170
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
|
| Yes, I do need further assistance, as I stated in the previous post.
| In the interest of getting help, I'll go into more detail here.
|
| Although the KB article says what the problem is, it doesn't (at least
| not to me) say what to do or where to do it.
|
| "the operating system language and
| the language of the performance resource must match"
| ...
| "you must make sure
| that the resource language matches the target operating system"
|
| First, where is the language of the target operating system defined? I
| tried Control Panel->Regional Options->General->Your Locale = English
| (United States), is this what they're talking about?
|
| Second, where is the language of the performance resouorce set?
| "Performance monitor counters have a description that is associated
| with each counter. This description is inside the string resource that
| is loaded by the counter. Resources are associated with a particular
| language and must match the target operating system language"
|
| In VS .NET I tried <project>->Properties->General->Character Set. The
| only availabe selections were "not set" (that's what it said when how
| I found it), "Unicode", and "Multi-byte". I tried Unicode, no luck
| though. I suspect I'm looking in the wrong place altogether.
|
| I hope you can clarify this for me.
|
| Thanks,
|
| Will
|
| On Wed, 03 Sep 2003 13:16:35 GMT, v-lwang@online.microsoft.com (Lewis
| Wang [MSFT]) wrote:
|
| >Hi Will,
| >
| >The following is a KB article about the problem, you may check it for
your
| >reference.
| >
| >INFO: Linking ATL Server PerfMon Counters to Language Resource for
Target OS
| >http://support.microsoft.com/...
| >
| >Hope this helps.
| >
| >Best regards,
| >Lewis
| >
| >This posting is provided "AS IS" with no warranties, and confers no
rights.
| >
| >--------------------
| >| From: will eichert <wfeichert@ucdavis.edu>
| >| Subject: newbie webservices question - build errors in WeatherService
| >sample app
| >| Date: Tue, 02 Sep 2003 15:21:39 -0700
| >| Message-ID: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
| >| X-Newsreader: Forte Agent 1.91/32.564
| >| MIME-Version: 1.0
| >| Content-Type: text/plain; charset=us-ascii
| >| Content-Transfer-Encoding: 7bit
| >| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| >| NNTP-Posting-Host: 128.120.248.34
| >| Lines: 1
| >| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| >| Xref: cpmsftngxa06.phx.gbl
| >microsoft.public.dotnet.framework.aspnet.webservices:19147
| >| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
| >|
| >| Greetings. I'm trying to build the WeatherService sample for .Net Web
| >| Services, and can't get it to build correctly. I keep getting the
| >| following error:
| >|
| >| Copied file from c:\Documents and Settings\myname.mydomain\My
| >| Documents\Samples\Visual C++ .NET
| >| 2003\atlserver\soap\WeatherService\Weatherisapi\Debug\weatherisapi.dll
| >| to c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll
| >|
| >| vcdeploy : error VCD0038: An error occurred registering the ISAPI
| >| extension. Make sure the extension is located at the correct path in
| >| the virtual directory.
| >|
| >| I verified that weatherisapi.dll is actually in the
| >| c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll directory, and the
| >| virtual directory is setup. Also as far as I can tell the application
| >| mappings are setup correctly.
| >|
| >| Can anyone help? If not can anyone direct me to a more appropriate
| >| place to get help on this? All I'm trying to do is build the Microsoft
| >| sample app...
| >|
| >| Thanks,
| >|
| >| Will
| >|
| >|
| >|
| >|
|
|

v-lwang

9/5/2003 1:13:00 PM

0

Hi Will,

Thank you for your update.

To work around this issue, you can create a new ATL Server Web Service
project and copy all code from the WeatherService sample to this project.

Hope this helps.

Best regards,
Lewis

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: will eichert <wfeichert@ucdavis.edu>
| Subject: Re: newbie webservices question - build errors in WeatherService
sample app
| Date: Thu, 04 Sep 2003 10:15:21 -0700
| Message-ID: <tjselv8dkq7kh7e4b0leeijiakac7ff6bg@4ax.com>
| References: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
<dNPKd2hcDHA.2116@cpmsftngxa06.phx.gbl>
<pv1dlv4es02emf4hpnd01m9cbncih96fg5@4ax.com>
<CUsZ5RscDHA.2116@cpmsftngxa06.phx.gbl>
| X-Newsreader: Forte Agent 1.91/32.564
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| NNTP-Posting-Host: 128.120.248.34
| Lines: 1
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:19190
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
|
| I tried this, but still get the same error.
|
| How do I set the language of the "performance resource" that needs to
| match the system setting? Is that in VS .NET, or in the project
| settings, or somewhere else? I tried everywhere I can think of...
|
| This shouldn't be so hard to resolve...
|
| On Thu, 04 Sep 2003 09:11:04 GMT, v-lwang@online.microsoft.com (Lewis
| Wang [MSFT]) wrote:
|
| >Hi Will,
| >
| >You may set default language for the system to be English(United States)
in
| >Control Panel->Regional Options->General->Language setting for the
system.
| >Press "Set default" and select the appropriate locale to be
English(United
| >States).
| >
| >Hope this helps.
| >
| >Best regards,
| >Lewis
| >This posting is provided "AS IS" with no warranties, and confers no
rights.
| >
| >--------------------
| >| From: will eichert <wfeichert@ucdavis.edu>
| >| Subject: Re: newbie webservices question - build errors in
WeatherService
| >sample app
| >| Date: Wed, 03 Sep 2003 17:34:19 -0700
| >| Message-ID: <pv1dlv4es02emf4hpnd01m9cbncih96fg5@4ax.com>
| >| References: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
| ><dNPKd2hcDHA.2116@cpmsftngxa06.phx.gbl>
| >| X-Newsreader: Forte Agent 1.91/32.564
| >| MIME-Version: 1.0
| >| Content-Type: text/plain; charset=us-ascii
| >| Content-Transfer-Encoding: 7bit
| >| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| >| NNTP-Posting-Host: 128.120.248.34
| >| Lines: 1
| >| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| >| Xref: cpmsftngxa06.phx.gbl
| >microsoft.public.dotnet.framework.aspnet.webservices:19170
| >| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
| >|
| >| Yes, I do need further assistance, as I stated in the previous post.
| >| In the interest of getting help, I'll go into more detail here.
| >|
| >| Although the KB article says what the problem is, it doesn't (at least
| >| not to me) say what to do or where to do it.
| >|
| >| "the operating system language and
| >| the language of the performance resource must match"
| >| ...
| >| "you must make sure
| >| that the resource language matches the target operating system"
| >|
| >| First, where is the language of the target operating system defined? I
| >| tried Control Panel->Regional Options->General->Your Locale = English
| >| (United States), is this what they're talking about?
| >|
| >| Second, where is the language of the performance resouorce set?
| >| "Performance monitor counters have a description that is associated
| >| with each counter. This description is inside the string resource that
| >| is loaded by the counter. Resources are associated with a particular
| >| language and must match the target operating system language"
| >|
| >| In VS .NET I tried <project>->Properties->General->Character Set. The
| >| only availabe selections were "not set" (that's what it said when how
| >| I found it), "Unicode", and "Multi-byte". I tried Unicode, no luck
| >| though. I suspect I'm looking in the wrong place altogether.
| >|
| >| I hope you can clarify this for me.
| >|
| >| Thanks,
| >|
| >| Will
| >|
| >| On Wed, 03 Sep 2003 13:16:35 GMT, v-lwang@online.microsoft.com (Lewis
| >| Wang [MSFT]) wrote:
| >|
| >| >Hi Will,
| >| >
| >| >The following is a KB article about the problem, you may check it for
| >your
| >| >reference.
| >| >
| >| >INFO: Linking ATL Server PerfMon Counters to Language Resource for
| >Target OS
| >| >http://support.microsoft.com/...
| >| >
| >| >Hope this helps.
| >| >
| >| >Best regards,
| >| >Lewis
| >| >
| >| >This posting is provided "AS IS" with no warranties, and confers no
| >rights.
| >| >
| >| >--------------------
| >| >| From: will eichert <wfeichert@ucdavis.edu>
| >| >| Subject: newbie webservices question - build errors in
WeatherService
| >| >sample app
| >| >| Date: Tue, 02 Sep 2003 15:21:39 -0700
| >| >| Message-ID: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
| >| >| X-Newsreader: Forte Agent 1.91/32.564
| >| >| MIME-Version: 1.0
| >| >| Content-Type: text/plain; charset=us-ascii
| >| >| Content-Transfer-Encoding: 7bit
| >| >| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| >| >| NNTP-Posting-Host: 128.120.248.34
| >| >| Lines: 1
| >| >| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| >| >| Xref: cpmsftngxa06.phx.gbl
| >| >microsoft.public.dotnet.framework.aspnet.webservices:19147
| >| >| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
| >| >|
| >| >| Greetings. I'm trying to build the WeatherService sample for .Net
Web
| >| >| Services, and can't get it to build correctly. I keep getting the
| >| >| following error:
| >| >|
| >| >| Copied file from c:\Documents and Settings\myname.mydomain\My
| >| >| Documents\Samples\Visual C++ .NET
| >| >|
2003\atlserver\soap\WeatherService\Weatherisapi\Debug\weatherisapi.dll
| >| >| to c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll
| >| >|
| >| >| vcdeploy : error VCD0038: An error occurred registering the ISAPI
| >| >| extension. Make sure the extension is located at the correct path in
| >| >| the virtual directory.
| >| >|
| >| >| I verified that weatherisapi.dll is actually in the
| >| >| c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll directory, and the
| >| >| virtual directory is setup. Also as far as I can tell the
application
| >| >| mappings are setup correctly.
| >| >|
| >| >| Can anyone help? If not can anyone direct me to a more appropriate
| >| >| place to get help on this? All I'm trying to do is build the
Microsoft
| >| >| sample app...
| >| >|
| >| >| Thanks,
| >| >|
| >| >| Will
| >| >|
| >| >|
| >| >|
| >| >|
| >|
| >|
|
|

will eichert

9/5/2003 6:31:00 PM

0

Lewis,

Thanks again for replying.

I'm unclear about what you're proposing.

The weathersample solutition contains a weatherisapi project, and a
weathersvc project. There is also a separate weathercli project, which
is the client.

So, what exactly are you saying should be in this new ATL Server Web
Service project? Replacing the weathersvc project with a new ATL
Server Web Service project and leaving the weatherisapi project alone?
Or replacing the entire solution?

The weathersvc project seems to build ok, but not the weatherisapi
project, and not the weathercli project.

Thanks in advance for clarifying...

Will



On Fri, 05 Sep 2003 13:13:20 GMT, v-lwang@online.microsoft.com (Lewis
Wang [MSFT]) wrote:

>Hi Will,
>
>Thank you for your update.
>
>To work around this issue, you can create a new ATL Server Web Service
>project and copy all code from the WeatherService sample to this project.
>
>Hope this helps.
>
>Best regards,
>Lewis
>
>This posting is provided "AS IS" with no warranties, and confers no rights.
>
>--------------------
>| From: will eichert <wfeichert@ucdavis.edu>
>| Subject: Re: newbie webservices question - build errors in WeatherService
>sample app
>| Date: Thu, 04 Sep 2003 10:15:21 -0700
>| Message-ID: <tjselv8dkq7kh7e4b0leeijiakac7ff6bg@4ax.com>
>| References: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
><dNPKd2hcDHA.2116@cpmsftngxa06.phx.gbl>
><pv1dlv4es02emf4hpnd01m9cbncih96fg5@4ax.com>
><CUsZ5RscDHA.2116@cpmsftngxa06.phx.gbl>
>| X-Newsreader: Forte Agent 1.91/32.564
>| MIME-Version: 1.0
>| Content-Type: text/plain; charset=us-ascii
>| Content-Transfer-Encoding: 7bit
>| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
>| NNTP-Posting-Host: 128.120.248.34
>| Lines: 1
>| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
>| Xref: cpmsftngxa06.phx.gbl
>microsoft.public.dotnet.framework.aspnet.webservices:19190
>| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>|
>| I tried this, but still get the same error.
>|
>| How do I set the language of the "performance resource" that needs to
>| match the system setting? Is that in VS .NET, or in the project
>| settings, or somewhere else? I tried everywhere I can think of...
>|
>| This shouldn't be so hard to resolve...
>|
>| On Thu, 04 Sep 2003 09:11:04 GMT, v-lwang@online.microsoft.com (Lewis
>| Wang [MSFT]) wrote:
>|
>| >Hi Will,
>| >
>| >You may set default language for the system to be English(United States)
>in
>| >Control Panel->Regional Options->General->Language setting for the
>system.
>| >Press "Set default" and select the appropriate locale to be
>English(United
>| >States).
>| >
>| >Hope this helps.
>| >
>| >Best regards,
>| >Lewis
>| >This posting is provided "AS IS" with no warranties, and confers no
>rights.
>| >
>| >--------------------
>| >| From: will eichert <wfeichert@ucdavis.edu>
>| >| Subject: Re: newbie webservices question - build errors in
>WeatherService
>| >sample app
>| >| Date: Wed, 03 Sep 2003 17:34:19 -0700
>| >| Message-ID: <pv1dlv4es02emf4hpnd01m9cbncih96fg5@4ax.com>
>| >| References: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
>| ><dNPKd2hcDHA.2116@cpmsftngxa06.phx.gbl>
>| >| X-Newsreader: Forte Agent 1.91/32.564
>| >| MIME-Version: 1.0
>| >| Content-Type: text/plain; charset=us-ascii
>| >| Content-Transfer-Encoding: 7bit
>| >| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
>| >| NNTP-Posting-Host: 128.120.248.34
>| >| Lines: 1
>| >| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
>| >| Xref: cpmsftngxa06.phx.gbl
>| >microsoft.public.dotnet.framework.aspnet.webservices:19170
>| >| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>| >|
>| >| Yes, I do need further assistance, as I stated in the previous post.
>| >| In the interest of getting help, I'll go into more detail here.
>| >|
>| >| Although the KB article says what the problem is, it doesn't (at least
>| >| not to me) say what to do or where to do it.
>| >|
>| >| "the operating system language and
>| >| the language of the performance resource must match"
>| >| ...
>| >| "you must make sure
>| >| that the resource language matches the target operating system"
>| >|
>| >| First, where is the language of the target operating system defined? I
>| >| tried Control Panel->Regional Options->General->Your Locale = English
>| >| (United States), is this what they're talking about?
>| >|
>| >| Second, where is the language of the performance resouorce set?
>| >| "Performance monitor counters have a description that is associated
>| >| with each counter. This description is inside the string resource that
>| >| is loaded by the counter. Resources are associated with a particular
>| >| language and must match the target operating system language"
>| >|
>| >| In VS .NET I tried <project>->Properties->General->Character Set. The
>| >| only availabe selections were "not set" (that's what it said when how
>| >| I found it), "Unicode", and "Multi-byte". I tried Unicode, no luck
>| >| though. I suspect I'm looking in the wrong place altogether.
>| >|
>| >| I hope you can clarify this for me.
>| >|
>| >| Thanks,
>| >|
>| >| Will
>| >|
>| >| On Wed, 03 Sep 2003 13:16:35 GMT, v-lwang@online.microsoft.com (Lewis
>| >| Wang [MSFT]) wrote:
>| >|
>| >| >Hi Will,
>| >| >
>| >| >The following is a KB article about the problem, you may check it for
>| >your
>| >| >reference.
>| >| >
>| >| >INFO: Linking ATL Server PerfMon Counters to Language Resource for
>| >Target OS
>| >| >http://support.microsoft.com/...
>| >| >
>| >| >Hope this helps.
>| >| >
>| >| >Best regards,
>| >| >Lewis
>| >| >
>| >| >This posting is provided "AS IS" with no warranties, and confers no
>| >rights.
>| >| >
>| >| >--------------------
>| >| >| From: will eichert <wfeichert@ucdavis.edu>
>| >| >| Subject: newbie webservices question - build errors in
>WeatherService
>| >| >sample app
>| >| >| Date: Tue, 02 Sep 2003 15:21:39 -0700
>| >| >| Message-ID: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
>| >| >| X-Newsreader: Forte Agent 1.91/32.564
>| >| >| MIME-Version: 1.0
>| >| >| Content-Type: text/plain; charset=us-ascii
>| >| >| Content-Transfer-Encoding: 7bit
>| >| >| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
>| >| >| NNTP-Posting-Host: 128.120.248.34
>| >| >| Lines: 1
>| >| >| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
>| >| >| Xref: cpmsftngxa06.phx.gbl
>| >| >microsoft.public.dotnet.framework.aspnet.webservices:19147
>| >| >| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>| >| >|
>| >| >| Greetings. I'm trying to build the WeatherService sample for .Net
>Web
>| >| >| Services, and can't get it to build correctly. I keep getting the
>| >| >| following error:
>| >| >|
>| >| >| Copied file from c:\Documents and Settings\myname.mydomain\My
>| >| >| Documents\Samples\Visual C++ .NET
>| >| >|
>2003\atlserver\soap\WeatherService\Weatherisapi\Debug\weatherisapi.dll
>| >| >| to c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll
>| >| >|
>| >| >| vcdeploy : error VCD0038: An error occurred registering the ISAPI
>| >| >| extension. Make sure the extension is located at the correct path in
>| >| >| the virtual directory.
>| >| >|
>| >| >| I verified that weatherisapi.dll is actually in the
>| >| >| c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll directory, and the
>| >| >| virtual directory is setup. Also as far as I can tell the
>application
>| >| >| mappings are setup correctly.
>| >| >|
>| >| >| Can anyone help? If not can anyone direct me to a more appropriate
>| >| >| place to get help on this? All I'm trying to do is build the
>Microsoft
>| >| >| sample app...
>| >| >|
>| >| >| Thanks,
>| >| >|
>| >| >| Will
>| >| >|
>| >| >|
>| >| >|
>| >| >|
>| >|
>| >|
>|
>|

v-lwang

9/8/2003 1:58:00 PM

0

Hi Will,

Thank you for your update. I'm sorry if my reply was not clear enough.

I downloaded sample code from
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/v...
ml/vcsamWeatherServiceSample.asp. I built it successfully last week

If weatherServiceisapi(ATL project) and weatherServiceclient(MFC
Application) can not be built successfully on your side, please create new
projects to rebuild them. So, we may copy all the code of weatherisapi and
weathercli from the sample and past them in the new projects.

Hope this helps.

Best regards,
Lewis
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: will eichert <wfeichert@ucdavis.edu>
| Subject: Re: newbie webservices question - build errors in WeatherService
sample app
| Date: Fri, 05 Sep 2003 11:31:17 -0700
| Message-ID: <1qkhlvoascqoan8f3cltfksvhns8eq6viq@4ax.com>
| References: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
<dNPKd2hcDHA.2116@cpmsftngxa06.phx.gbl>
<pv1dlv4es02emf4hpnd01m9cbncih96fg5@4ax.com>
<CUsZ5RscDHA.2116@cpmsftngxa06.phx.gbl>
<tjselv8dkq7kh7e4b0leeijiakac7ff6bg@4ax.com>
<JKX9C#6cDHA.216@cpmsftngxa06.phx.gbl>
| X-Newsreader: Forte Agent 1.91/32.564
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| NNTP-Posting-Host: 128.120.248.34
| Lines: 1
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:19224
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
|
| Lewis,
|
| Thanks again for replying.
|
| I'm unclear about what you're proposing.
|
| The weathersample solutition contains a weatherisapi project, and a
| weathersvc project. There is also a separate weathercli project, which
| is the client.
|
| So, what exactly are you saying should be in this new ATL Server Web
| Service project? Replacing the weathersvc project with a new ATL
| Server Web Service project and leaving the weatherisapi project alone?
| Or replacing the entire solution?
|
| The weathersvc project seems to build ok, but not the weatherisapi
| project, and not the weathercli project.
|
| Thanks in advance for clarifying...
|
| Will
|
|
|
| On Fri, 05 Sep 2003 13:13:20 GMT, v-lwang@online.microsoft.com (Lewis
| Wang [MSFT]) wrote:
|
| >Hi Will,
| >
| >Thank you for your update.
| >
| >To work around this issue, you can create a new ATL Server Web Service
| >project and copy all code from the WeatherService sample to this project.
| >
| >Hope this helps.
| >
| >Best regards,
| >Lewis
| >
| >This posting is provided "AS IS" with no warranties, and confers no
rights.
| >
| >--------------------
| >| From: will eichert <wfeichert@ucdavis.edu>
| >| Subject: Re: newbie webservices question - build errors in
WeatherService
| >sample app
| >| Date: Thu, 04 Sep 2003 10:15:21 -0700
| >| Message-ID: <tjselv8dkq7kh7e4b0leeijiakac7ff6bg@4ax.com>
| >| References: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
| ><dNPKd2hcDHA.2116@cpmsftngxa06.phx.gbl>
| ><pv1dlv4es02emf4hpnd01m9cbncih96fg5@4ax.com>
| ><CUsZ5RscDHA.2116@cpmsftngxa06.phx.gbl>
| >| X-Newsreader: Forte Agent 1.91/32.564
| >| MIME-Version: 1.0
| >| Content-Type: text/plain; charset=us-ascii
| >| Content-Transfer-Encoding: 7bit
| >| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| >| NNTP-Posting-Host: 128.120.248.34
| >| Lines: 1
| >| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| >| Xref: cpmsftngxa06.phx.gbl
| >microsoft.public.dotnet.framework.aspnet.webservices:19190
| >| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
| >|
| >| I tried this, but still get the same error.
| >|
| >| How do I set the language of the "performance resource" that needs to
| >| match the system setting? Is that in VS .NET, or in the project
| >| settings, or somewhere else? I tried everywhere I can think of...
| >|
| >| This shouldn't be so hard to resolve...
| >|
| >| On Thu, 04 Sep 2003 09:11:04 GMT, v-lwang@online.microsoft.com (Lewis
| >| Wang [MSFT]) wrote:
| >|
| >| >Hi Will,
| >| >
| >| >You may set default language for the system to be English(United
States)
| >in
| >| >Control Panel->Regional Options->General->Language setting for the
| >system.
| >| >Press "Set default" and select the appropriate locale to be
| >English(United
| >| >States).
| >| >
| >| >Hope this helps.
| >| >
| >| >Best regards,
| >| >Lewis
| >| >This posting is provided "AS IS" with no warranties, and confers no
| >rights.
| >| >
| >| >--------------------
| >| >| From: will eichert <wfeichert@ucdavis.edu>
| >| >| Subject: Re: newbie webservices question - build errors in
| >WeatherService
| >| >sample app
| >| >| Date: Wed, 03 Sep 2003 17:34:19 -0700
| >| >| Message-ID: <pv1dlv4es02emf4hpnd01m9cbncih96fg5@4ax.com>
| >| >| References: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
| >| ><dNPKd2hcDHA.2116@cpmsftngxa06.phx.gbl>
| >| >| X-Newsreader: Forte Agent 1.91/32.564
| >| >| MIME-Version: 1.0
| >| >| Content-Type: text/plain; charset=us-ascii
| >| >| Content-Transfer-Encoding: 7bit
| >| >| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| >| >| NNTP-Posting-Host: 128.120.248.34
| >| >| Lines: 1
| >| >| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| >| >| Xref: cpmsftngxa06.phx.gbl
| >| >microsoft.public.dotnet.framework.aspnet.webservices:19170
| >| >| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
| >| >|
| >| >| Yes, I do need further assistance, as I stated in the previous post.
| >| >| In the interest of getting help, I'll go into more detail here.
| >| >|
| >| >| Although the KB article says what the problem is, it doesn't (at
least
| >| >| not to me) say what to do or where to do it.
| >| >|
| >| >| "the operating system language and
| >| >| the language of the performance resource must match"
| >| >| ...
| >| >| "you must make sure
| >| >| that the resource language matches the target operating system"
| >| >|
| >| >| First, where is the language of the target operating system
defined? I
| >| >| tried Control Panel->Regional Options->General->Your Locale =
English
| >| >| (United States), is this what they're talking about?
| >| >|
| >| >| Second, where is the language of the performance resouorce set?
| >| >| "Performance monitor counters have a description that is associated
| >| >| with each counter. This description is inside the string resource
that
| >| >| is loaded by the counter. Resources are associated with a particular
| >| >| language and must match the target operating system language"
| >| >|
| >| >| In VS .NET I tried <project>->Properties->General->Character Set.
The
| >| >| only availabe selections were "not set" (that's what it said when
how
| >| >| I found it), "Unicode", and "Multi-byte". I tried Unicode, no luck
| >| >| though. I suspect I'm looking in the wrong place altogether.
| >| >|
| >| >| I hope you can clarify this for me.
| >| >|
| >| >| Thanks,
| >| >|
| >| >| Will
| >| >|
| >| >| On Wed, 03 Sep 2003 13:16:35 GMT, v-lwang@online.microsoft.com
(Lewis
| >| >| Wang [MSFT]) wrote:
| >| >|
| >| >| >Hi Will,
| >| >| >
| >| >| >The following is a KB article about the problem, you may check it
for
| >| >your
| >| >| >reference.
| >| >| >
| >| >| >INFO: Linking ATL Server PerfMon Counters to Language Resource for
| >| >Target OS
| >| >| >http://support.microsoft.com/...
| >| >| >
| >| >| >Hope this helps.
| >| >| >
| >| >| >Best regards,
| >| >| >Lewis
| >| >| >
| >| >| >This posting is provided "AS IS" with no warranties, and confers
no
| >| >rights.
| >| >| >
| >| >| >--------------------
| >| >| >| From: will eichert <wfeichert@ucdavis.edu>
| >| >| >| Subject: newbie webservices question - build errors in
| >WeatherService
| >| >| >sample app
| >| >| >| Date: Tue, 02 Sep 2003 15:21:39 -0700
| >| >| >| Message-ID: <ji5alvosj33ejtslgnuk3dem3rbnldqts9@4ax.com>
| >| >| >| X-Newsreader: Forte Agent 1.91/32.564
| >| >| >| MIME-Version: 1.0
| >| >| >| Content-Type: text/plain; charset=us-ascii
| >| >| >| Content-Transfer-Encoding: 7bit
| >| >| >| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| >| >| >| NNTP-Posting-Host: 128.120.248.34
| >| >| >| Lines: 1
| >| >| >| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| >| >| >| Xref: cpmsftngxa06.phx.gbl
| >| >| >microsoft.public.dotnet.framework.aspnet.webservices:19147
| >| >| >| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
| >| >| >|
| >| >| >| Greetings. I'm trying to build the WeatherService sample for
..Net
| >Web
| >| >| >| Services, and can't get it to build correctly. I keep getting the
| >| >| >| following error:
| >| >| >|
| >| >| >| Copied file from c:\Documents and Settings\myname.mydomain\My
| >| >| >| Documents\Samples\Visual C++ .NET
| >| >| >|
| >2003\atlserver\soap\WeatherService\Weatherisapi\Debug\weatherisapi.dll
| >| >| >| to c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll
| >| >| >|
| >| >| >| vcdeploy : error VCD0038: An error occurred registering the ISAPI
| >| >| >| extension. Make sure the extension is located at the correct
path in
| >| >| >| the virtual directory.
| >| >| >|
| >| >| >| I verified that weatherisapi.dll is actually in the
| >| >| >| c:\inetpub\wwwroot\weatherisapi\weatherisapi.dll directory, and
the
| >| >| >| virtual directory is setup. Also as far as I can tell the
| >application
| >| >| >| mappings are setup correctly.
| >| >| >|
| >| >| >| Can anyone help? If not can anyone direct me to a more
appropriate
| >| >| >| place to get help on this? All I'm trying to do is build the
| >Microsoft
| >| >| >| sample app...
| >| >| >|
| >| >| >| Thanks,
| >| >| >|
| >| >| >| Will
| >| >| >|
| >| >| >|
| >| >| >|
| >| >| >|
| >| >|
| >| >|
| >|
| >|
|
|