문제

나는 실행 Win7x64 궁극적으로 Visual Studio2008.나는 웹 사이트 내장 ASP.NET 3.5 과 호스팅을 통해 IIS 에 내 상자입니다.나는 실행할 수 있습니다 웹사이트에 완벽하게 괜찮아 나를 칠 수 있는 웹 서비스는 내가 내장된 웹 사이트에서 사용하는 웹 브라우저입니다.

When I pull up 내 윈도우 모바일 6 에뮬레이터와 충돌 사이트(사용 IP 주소)를 항상 404 오류가 있습니다.

저도 에뮬레이터에 올려 w/장치 에뮬레이터 관리자가 상호 작용과 함께 에뮬레이터 장치 일반적으로.나도 얻을 수 있을 google.com 과 다른 웹사이트/w 에뮬레이트된 장치입니다.

나 또한 검증을 에뮬레이터는 나의 박스를 중지하여 IIS 웹사이트를 보고하는 WinMo 에뮬레이터를 얻을 수 없이 어떤 반응이다.다음 시작할 때 사이트에 다시 얻을 404 오류가 있습니다.

을 때 제가 사이트에서 데브 박스를 통해 웹 사이트의 IP 주소를 사용하여 그것을 완벽하게 작동합니다.

최악의 일부입니다 이 일을 완벽하게 몇 주 전에,내가 그것을 사용하는 경우 마지막입니다.나도 몰라 난 아무것도 변화 이후 나는 그냥 노력을 에뮬레이터를 사용하여 내 사이트를 다시.

Help?!

업데이트:내 http 요청 comign 에서 WinMo 에뮬레이터는 로그에서 IIS 로그 파일을 요청 파이어 폭스 내역 상자 얻고 있는 기록됩니다.가 확실하지 않는 경우는 데 도움이 되는 문제를 파악 하는...

업데이트 2:사용할 수 있습니다 루비 Webbrick 서버에서 현지자는 서버에서 에뮬레이터됩니다.에서 IIS 허용하지 않을 칠 IIS 사이트에서 뮤?

업데이트 3:내가 올려 놓고 실제 WinMo 장치를 상자에 그것의 네트워킹을 끄고를 칠 수 있었 IIS 사이트됩니다.는 나를 생각하게 뭔가 설정된 에뮬레이터입니다.

도움이 되었습니까?

해결책

Derick I faced the same problem recently; here's what worked for me.

Download TcpTrace from here

Start Tcptrace, and it'll pop up a dialog and by default try to redirect traffic from port 8080 to port 80. Click Ok

Now try hitting the web service again using the emulator, and make sure you are using IP addresses instead of localhost.

Update: Finally solved this issue on my system. Had to open up port 80 to the emulator. See http://dotnetsurfers.com/blog/2010/06/06/connecting-to-a-local-resourceservice-from-the-smart-device-emulator-in-visual-studio/

다른 팁

단과 아이디:그것은 아무 방화벽 설정?

Try using the public IP assigned to your box not a local IP....if possible. It might be a routing problem since your phone emulator is probably running from the same computer as your web service.

Also, check the .NET framework you are running on IIS... if 4 try changing it to 2 and try it again.

Some things to try:

1) Try hitting a different site from WinMo 2) Try creating a new virtual directory in IIS which doesn't use ASP.NET, put an HTML page in there and see if you can hit it 3) Since I know you are a Rails guy too, try starting up Webrick and see if you can hit that from your WinMo device 4) Check your IIS logs to see if the request is even making it to your IIS box 5) Copy your ASP.NET project to a different box and hit that. If you can't, use something like Wireshark to trace the traffic and see what request it's making.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top