Decoding this installation problem

J

jrl

I was referred to this newsgroup by the MSDN concierge. I was trying to
complete the installation steps that come with the SDK for
AzureSample/StorageClient as listed in the readme. All the steps were
completing successfully, except for the last step, where I run
StorageClientAPIsample.exe

The program runs normally, and then generates the following output:

Queue samples finished successfully.
Show how to create tables and queries using the SampleDataServiceContext
class..
..
DataServiceRequestException: System.Net.WebException: Unable to connect to
the r
emote server ---> System.Net.Sockets.SocketException: No connection could be
mad
e because the target machine actively refused it 127.0.0.1:10002
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
SocketAddre
ss socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Sock
et s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState
state,
IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream()
at
System.Data.Services.Client.DataServiceContext.SaveAsyncResult.BeginNextCh
ange(Boolean replaceOnUpdate)


Please check if the table storage service is running at
http://127.0.0.1:10002/
Detailed information on how to run the development table storage tool
locally ca
n be found in the readme file that comes with this sample.
Also make sure that you started the table service with the right parameters,
tha
t is, exactly as described in the readme file for this sample.
Table creation, delete and list samples...
DataServiceRequestException: System.Net.WebException: Unable to connect to
the r
emote server ---> System.Net.Sockets.SocketException: No connection could be
mad
e because the target machine actively refused it 127.0.0.1:10002
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
SocketAddre
ss socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Sock
et s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState
state,
IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream()
at
System.Data.Services.Client.DataServiceContext.SaveAsyncResult.BeginNextCh
ange(Boolean replaceOnUpdate)


Please check if the table storage service is running at
http://127.0.0.1:10002/
Detailed information on how to run the development table storage tool
locally ca
n be found in the readme file that comes with this sample.
Also make sure that you started the table service with the right parameters,
tha
t is, exactly as described in the readme file for this sample.
Press <ENTER>

I wondered if my firewall was interfering so I opened ports 10000 to 10003
for bidirectional traffic. This did not correct the problem.
Can you identify the cause of the problem, or how to correct this?

Thanks,
 
J

Jialiang Ge [MSFT]

Good morning jrl. Welcome to Microsoft Newsgroup Support Service! My name
is Jialiang Ge [MSFT]. It's my pleasure to work with you on this thread.

Although Azure is still a CTP product and it's currently not within our
newsgroup support offering, I'm glad to share my research result with you
in this case. The more proper forum for Azure questions is
http://social.msdn.microsoft.com/Forums/en/category/azure/. We are also
contacting the MSDN concierge about the incorrect redirection. Managed
Newsgroup service does not support non-released products.

The Queue sample finished successfully and you cannot connect to Table
Storage (http//127.0.0.1:10002). This can be caused by the incorrect
configuration of Table Storage. In the 'Readme.txt' file of the sample, it
reads:

<quote>
To run the sample with Visual Studio 2008:

Preparation:
- Install .NET Framework 3.5 SP1 if you haven't done so already.
- Open the Microsoft Windows Azure Command Prompt (Start | Programs |
Windows Azure SDK (October 2008 CTP) | Windows Azure SDK Command Prompt).
- Go to the directory where you unpacked the samples.
- Run development storage by calling the 'rundevstore.cmd' command script.
- Make sure that the Table Storage service is running in development
storage. Also make sure that the database called 'ServiceHostingSDKSamples'
is currently selected for the table service; choose Development Storage ->
Tools -> Table service properties -> ServiceHostingSDKSamples.
</quote>

Please notice the last line.

In order to verify whether Table Storage is running rightly, please go
through these steps:

Step 1. From Start Menu, search for "Development Storage" and launch it.
(If it's already launched, you can find an icon in the Task Bar's
Notification Area)

Step2. There are three services. From the description, it looks like the
Table Storage Service is not running. You can verify it in the "Status"
column.

Step3. If this is the case, please start a command prompt as administrator.
Navigate to the folder "System Drive:\Program Files\Windows Azure
SDK\v1.0\bin\" and run the command
devtablegen.exe /DatabaseName /ForceCreate [path of the compiled assembly]

DatabaseName is optional. If you don't specify a name, the assembly's name
is used by default. ForceCreate is used in case that the database already
exists. For the SDK sample, the compiled assembly should be "Sample Root
Directory\StorageClient\StorageClientAPISample\bin\Debug\
StorageClientAPISample.exe".

Step4. Return to Development Storage. From the "Tools" menu, choose "Table
service properties", and select the database you just created. Now click
the Start Button and check whether problem is fixed.

Here is another way to create the ServiceHostingSDKSamples DB:

Step 1. Run "cmd.exe" as administrator

Step 2. Run "createtables.cmd", which resides in the root folder of
samples.zip.


Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

MSDN Managed Newsgroup support offering is for non-urgent issues where an
initial response from the community or a Microsoft Support Engineer within
2 business day is acceptable. Please note that each follow up response may
take approximately 2 business days as the support professional working with
you may need further investigation to reach the most efficient resolution.
The offering is not appropriate for situations that require urgent,
real-time or phone-based interactions. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top