Debugging desktop connection issues

Is there any way to debug desktop connectivity issues?  We have a client that recently had a rash of DNS issues after adding several new IP addresses to their server.  Ultimately we discovered an issue with the Plesk tool we use to maintain the domains, but in the meantime we tried a few things to try to troubleshoot.  One thing we did was moved their application from a sub domain to the root (we deleted the sub and recreated a domain using the same url, so xxx.org with subdomain iMIS (imis.xxx.org) went to imis.xxx.org no sub domain.  After the dns issues got resoved we can now connect to the web view just fine, but the desktop will not open.  We got the Error during logon:  the iMIS website may not be functioning properly..... error.  This is driving me nuts and the customer has been without the desktop access nearly all week.   Any thoughts/suggestions?

Thanks!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

13 type mismatch rears its ugly head

This error is a "friendly" version of the type 13 mismatch error; recent iMIS versions trap that error (which occurs during a login via the web service) and translate it, pointing the user toward a possible issue with the website.  There are comments in this post that might help: http://www.imiscommunity.com/imis_15_desktop_error_during_logon_13_type_mismatch

Just to make sure - the URL is unchanged, correct?  So the stored server URL in desktop (Logon / Set Host Location) is valid?  An invalid URL is probably the easiest way to trigger this error.

 

Yes, the url is correct and

Yes, the url is correct and the url is unchanged.  I wil take a look at the link.

You could try a "ipconfig

You could try a "ipconfig /flushdns" from the command line to see if the issue is old cached DNS data.

Eric Means
System Architect, ASI

Didn't change anything.

Didn't change anything.

I have been on the phone

I have been on the phone with TS on this as well.  One thing we noticed is that the desktop is not rebuilding the odbc connection when we try to connect.  I have deleted the ODBC and desktop is not rebuiding it.

the DSN is created after a successful login...

...and the message you're seeing is triggered by a login failure, so it's never getting to that point.  You might try re-creating SQL logins (DBRepair / Prepare iMIS Database), although if there's an issue there, you usually see a different error.  Desktop login was working properly prior to the IP changes, correct?

I tried that about an hour

I tried that about an hour ago and no still no go.  Yes, it was working prior to the IP address change. 

Verify the Membership web service calls are working

Browse to (yoursite)/net/asicommon/services/membership/membershipwebservice.asmx .  Desktop calls LoginUser, so try exercising it through the test page to see if there are any errors (use staffUser = true). 

Desktop also invokes GetDatabaseInformation, but it isn't testable through the test page because of its parameter setup.  There are various web service test tools available that might invoke it; I never ran that method through the test page, just from the desktop code.

Also, take a look in the Windows application event log to see if there are any SOAP messages that might help.

Browsing to the web service

Browsing to the web service gives an error:

 

Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 114: </tagMapping>
Line 115: </pages>
Line 116: <siteMap defaultProvider="AsiSitemapProvider" enabled="true">
Line 117: <providers>
Line 118: <add name="AsiSitemapProvider" type="Asi.Web.SiteMapProvider,Asi.Web" securityTrimmingEnabled="true" />
 

Source File: d:\inetpub\vhosts\imis.ncsl-hq.com\httpdocs\net\web.config Line: 116

 

Show Additional Configuration Errors:

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (d:\inetpub\vhosts\imis.ncsl-hq.com\httpdocs\net\web.config line 147)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (d:\inetpub\vhosts\imis.ncsl-hq.com\httpdocs\net\web.config line 155)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (d:\inetpub\vhosts\imis.ncsl-hq.com\httpdocs\net\web.config line 161)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (d:\inetpub\vhosts\imis.ncsl-hq.com\httpdocs\net\web.config line 193)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (d:\inetpub\vhosts\imis.ncsl-hq.com\httpdocs\net\web.config line 225)

 

 

Hi, I am not sure whether

Hi,
I am not sure whether you got this error by browsing theURL http://[servername]/imis15/asicommon/services/membership/membershipwebservice.asmx

[Servername] - Public domain name/ or computer name where iMIS15 installed. (Note: IMIS15 'Net' physical folder configured as 'iMIS15' virtual folder in IIS)
Actually your iMIS15 is a virtual folder and it is not configured to run as individual application, so this folder can't have web.config with configuration sections.
To fix this issue

1. Run Internet Information Service where iMIS15 installed.
2. right-click on your virtual directory (IMIS15) and then select Properties.
3. Choose Directory tab.
4. Near of Application name textbox. Click on the Create button.
5. Then Set Execute Permissions to Scripts only.
 

Balaji

Thanks Balaji.  This is

Thanks Balaji.  This is IIS7 and the iMIS15 folder  was created as an application. 

Hi Please remove the exsting

Hi

Please remove the exsting iMIS15 virtual folder and create a new iMIS15 virtual using 'Add Application' feature, and select application pool type to 'Classic .NET AppPool',

Let's see...

Thanks

 

No change.  I can connect

No change.  I can connect with the browser just fine and log in, just not the desktop.

Ok. Run iMIS15 desktop

Ok. Run iMIS15 desktop client with Administrator privilege..( Right click desktop client shortcut and select 'Run as Administrator') If it is possible you can post some error screen shot for me to look.

No change.  I will see if I

No change.  Not sure how to post a screen shot here.  Error is from ASIFunction:  Error during logon:  the iMIS website may not be functioning properly.  Please see your system administrator. 

 

 

In your previous post you

In your previous post you said 'browser just fine and log in'  did you test iMIS15 and imispublic both sites and it is working?

1. http://[sitename]/imis15

2. http://[sitename]/imispublic

Thanks

 

 

iMIS public isn't set up,

iMIS public isn't set up, they use WCM, but yes, I can connect to the casual site without any problems.

You can upload attachements

You can upload attachements by creating a new blog.

http://www.imiscommunity.com/node/add/blog

Let me know the url to see the blog.

|Thanks

 

 

It is called Desktop Error

It is called Desktop Error Message.

 

http://www.imiscommunity.com/desktop_error_message

I managed to reproduce the

I managed to reproduce the same error by stopping iMIS15 site.

.. So definitely the problem is client is not able to consume iMIS15 web services.

Please follow these steps
1. Open your web.config file and get the value from “ImisWebserverUrl”
<add key="ImisWebServerUrl" value="http://MYSERVER/iMIS15" />
2. Run your desktop client
3. Click Cancel button
4. Click ‘Logon’ menu (Top menu)
5. Click ‘Set Host location’
6. Click ‘Insert’
7. Enter the same value you copied from step 1

8. Try to login again with new application server

From client Machine,
Open IE browser and enter the same url and check you are getting iMIS15 home page. If you can’t browse then check proxy settings or other network related.

Balaji

i had to step away for a bit

i had to step away for a bit so i will try this when i return

No change.

No change.  Can browse fine in IE but can't connect with desktop.

We found the problem.  I

We found the problem.  I was forced to use Plesk to set this web up.  When I deleted it and recreated it using Plesk, a handler mapping for *.asmx was not created.  Once I created that mapping by hand, the desktop started working.

Thanks everyone.