PC Review


Reply
Thread Tools Rate Thread

Emulator WINCE with SQL Server

 
 
=?Utf-8?B?Um9nZXJpbyBKdW4=?=
Guest
Posts: n/a
 
      10th Jun 2005
Sometimes, when I try to access a SQL SERVER, the exception is fired.

"SQL SERVER DOES NOT EXIST OR ACCESS DENIED."

Anybody knows was happen?

Rogério


 
Reply With Quote
 
 
 
 
David McNamee
Guest
Posts: n/a
 
      13th Jun 2005
"Rogerio Jun" <(E-Mail Removed)> wrote in message
news:96ABAAFE-D946-4482-90E2-(E-Mail Removed)...
> Sometimes, when I try to access a SQL SERVER, the exception is fired.
>
> "SQL SERVER DOES NOT EXIST OR ACCESS DENIED."
>
> Anybody knows was happen?
>


Not without more information.

1. Is this message received when accessing Sql Server from your app on the
device?
2. Is your connection string correct? If you're not sure, check
http://www.connectionstrings.com for help.
3. Does the account you are using have appropriate permissions on the Sql
Server?
4. Have you tried using the Sql Server's IP address instead of its host
name?


--
David McNamee
Mobility Architect
developerLabs, Inc
http://www.developerLabs.NET/


 
Reply With Quote
 
=?Utf-8?B?Um9nZXJpbyBKdW4=?=
Guest
Posts: n/a
 
      13th Jun 2005
1. Is this message received when accessing Sql Server from your app on the
device?
I receive the message when my app try to connect a SQL SERVER

2. Is your connection string correct?
"Server=10.0.0.1;Initial Catalog=PDV; User ID=sa; Password=senha";

3. Does the account you are using have appropriate permissions on the Sql
Server?
Yes. Sometimes, the connect is ok.

4. Have you tried using the Sql Server's IP address instead of its host
name? Yes. IP and hostname.




"David McNamee" wrote:

> "Rogerio Jun" <(E-Mail Removed)> wrote in message
> news:96ABAAFE-D946-4482-90E2-(E-Mail Removed)...
> > Sometimes, when I try to access a SQL SERVER, the exception is fired.
> >
> > "SQL SERVER DOES NOT EXIST OR ACCESS DENIED."
> >
> > Anybody knows was happen?
> >

>
> Not without more information.
>
> 1. Is this message received when accessing Sql Server from your app on the
> device?
> 2. Is your connection string correct? If you're not sure, check
> http://www.connectionstrings.com for help.
> 3. Does the account you are using have appropriate permissions on the Sql
> Server?
> 4. Have you tried using the Sql Server's IP address instead of its host
> name?
>
>
> --
> David McNamee
> Mobility Architect
> developerLabs, Inc
> http://www.developerLabs.NET/
>
>
>

 
Reply With Quote
 
Sergey Bogdanov
Guest
Posts: n/a
 
      13th Jun 2005
Can you try to ping the server? Or if 10.0.0.1 has the IIS try to browse
into it from device to make sure that you have no problems with
accessing to server. Also make sure that firewall does not restrict
access for this device.

--
Sergey Bogdanov
http://www.sergeybogdanov.com


Rogerio Jun wrote:
> 1. Is this message received when accessing Sql Server from your app on the
> device?
> I receive the message when my app try to connect a SQL SERVER
>
> 2. Is your connection string correct?
> "Server=10.0.0.1;Initial Catalog=PDV; User ID=sa; Password=senha";
>
> 3. Does the account you are using have appropriate permissions on the Sql
> Server?
> Yes. Sometimes, the connect is ok.
>
> 4. Have you tried using the Sql Server's IP address instead of its host
> name? Yes. IP and hostname.
>
>
>
>
> "David McNamee" wrote:
>
>
>>"Rogerio Jun" <(E-Mail Removed)> wrote in message
>>news:96ABAAFE-D946-4482-90E2-(E-Mail Removed)...
>>
>>>Sometimes, when I try to access a SQL SERVER, the exception is fired.
>>>
>>>"SQL SERVER DOES NOT EXIST OR ACCESS DENIED."
>>>
>>>Anybody knows was happen?
>>>

>>
>>Not without more information.
>>
>>1. Is this message received when accessing Sql Server from your app on the
>>device?
>>2. Is your connection string correct? If you're not sure, check
>>http://www.connectionstrings.com for help.
>>3. Does the account you are using have appropriate permissions on the Sql
>>Server?
>>4. Have you tried using the Sql Server's IP address instead of its host
>>name?
>>
>>
>>--
>>David McNamee
>>Mobility Architect
>>developerLabs, Inc
>>http://www.developerLabs.NET/
>>
>>
>>

 
Reply With Quote
 
David McNamee
Guest
Posts: n/a
 
      13th Jun 2005

"Rogerio Jun" <(E-Mail Removed)> wrote in message
news:F402070B-3771-4247-8CB0-(E-Mail Removed)...
>
> 4. Have you tried using the Sql Server's IP address instead of its host
> name? Yes. IP and hostname.
>


Are you able to ping the Sql Server host from the device? You can grab a
ping utility from http://www.cam.com/

-david


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vs2005 WinCe Emulator =?Utf-8?B?Sm9obiBPbGJlcnQ=?= Microsoft Dot NET Compact Framework 4 20th Dec 2005 01:04 PM
WinCE emulator and SqlServer Zanna Microsoft Dot NET Compact Framework 3 24th Oct 2004 10:23 AM
VS.NET 2003 and WinCE 4.2 Emulator Alex Microsoft Dot NET Compact Framework 1 13th Apr 2004 05:39 PM
WinCE.NET emulator Brian Burgess Microsoft Dot NET Compact Framework 8 17th Oct 2003 05:27 AM
WinCE 4.1 emulator integration with VS.NET MickeyBob Microsoft Dot NET Compact Framework 1 20th Aug 2003 12:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:39 PM.