→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pentel
Engaged Sweeper III
Hello,

I keep having the same error on multiple machines, and have tried to fix it with no results. Here is what I tried so far :
- http://www.lansweeper.com/kb/accessdenied.aspx ALL 6 of these steps, over and over again
- Checking the queue on http://lansweeperserver:9524
- Rebooting PCs
- Checking the Firewall and RPC related errors
- DNS entries, not cleaning them which might explain some of them, but a few of these entries are clean
- DHCP entries, same thing as above
- AD architecture for GPOs or other things that might conflict with scans
- Connection tester is OK (no FAILED message on IP, FQDN or NETBIOS)

Main error is this :
Access is denied 0x80070005 (COMPUTERFQDN, COMPUTER, 1.2.3.4)

I also sometimes get this error :
Wmierror Call was canceled by the message filter. (Exception from HRESULT: 0x80010002 (RPC_E_CALL_CANCELED)) COMPUTER (COMPUTERFQDN)

I'm not sure what else I could try, I searched around forums a few times with different keywords, but nothing fixed my problem. If anyone could bring suggestions to try and fix it that would be awesome.
10 REPLIES 10
pentel
Engaged Sweeper III
I have resolved the issue. I just needed to trigger scans with a .local extension to the domain. This means it was most likely a DNS issue, but I am sure glad it got fixed.

Hopefully not too many people will encounter this problem, and if they do, well hopefully this topic will help them with it 🙂
pentel
Engaged Sweeper III
What I did was simply take an unused box and install Lansweeper from scratch on it since it didn't work on my already existing test box, probably because I fiddled around with settings too much.

I installed the Lansweeper service, the database and the website. Once that was done I took the database to migrate and got these errors. So the way I see it the SQL lansweeperuser should be created the same in both SQL instances since I didn't modify it...


EDITED SINCE I DONT WANT TO WASTE POSTS :

I have managed to fix the db access denied by creating a new lansweeperuser2 in SQL studio express, giving it ownership of the lansweeperdb database, removing the old lansweeperuser and renaming lansweeperuser2 to lansweeperuser. Now the database migration works perfectly. There's still the WMI errors. I managed to somehow scan 1 PC with a WMI error before, but the rest still have the errors.
Hemoco
Lansweeper Alumni
When you moved the database did you also recreated the lansweeperuser and gave it the appropriate permissions?
pentel
Engaged Sweeper III
Around when I started getting the WMI errors I noticed there has been this message that shows up in errorlog.txt :

A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)


There is also this message at a few spots in the errorlog.txt file, if it means anything :
08/24/2009 9:29:39 AM: COMPUTER
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at LansweeperService.MdlWmi.GetWMI(String Querystr, String Table, LS_Computer& mycomputer, String section, SqlConnection& sqlcon)


If that means anything please let me know. I am also trying to migrate the database to my test box and see if my current Lansweeper server is corrupted or something, but when the database is moved it shows this message in the web interface :
System.Data.SqlClient.SqlException: Cannot open database "lansweeperdb" requested by the login. The login failed.
Login failed for user 'lansweeperuser'.
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at DreamweaverCtrls.DataSet.DoInit()System.Data.SqlClient.SqlException: Cannot open database "lansweeperdb" requested by the login. The login failed.
Login failed for user 'lansweeperuser'.
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at DreamweaverCtrls.DataSet.DoInit()


Could it be an access denied somewhere that's causing this problem?
pentel
Engaged Sweeper III
I have tried the 3.5.2 beta, for some odd reason it works when I tested it on a different non-premium Lansweeper testing box, but when I tried the beta on the production box with the main database, it did not fix anything...

For the contact by mail, could you detail a bit (by PM if you want) what you will do? I am not sure there is much more you can suggest that has not already been said in this forum...

Also, when I try to use the remote control on these machines, it says "Registry access failed" or something similar. Could there be something that is configured badly and that doesn't allow me to send or receive the data from the Lansweeper server box?


Thanks
Hemoco
Lansweeper Alumni
Please contact us by mail so we can try to fix this problem.
pentel
Engaged Sweeper III
Yes, the DNS is correct, it might be the issue for some of them but I highly doubt it since not all of them have multiple entries in the DNS console. Their IP address corresponds to the DNS and DHCP consoles also.

I haven't tried the 3.5.2 beta yet, but if you have any more suggestions please let me know about them.

Thanks
Hemoco
Lansweeper Alumni
When you see : Access is denied 0x80070005 (COMPUTERFQDN, COMPUTER, 1.2.3.4)

Is the ip address correct? (does it belong to this computer)

Some users had a problem that there dns server was pointing to the wrong IP.
pentel
Engaged Sweeper III
Hi,

So far I can confirm about 25 PCs on a network of 400 detected PCs, and this number can easily go up to 75 PCs (we have 77 PCs in red, with 27 having the WMI specific error). The other red PCs simply have a RPC error and it's probably a firewall, so I'm not worried about them.

These machines are a mix of WinXP Pro, Windows server 2003 and Windows server 2008.

I'll talk to other people here and probably try the 3.5.2 beta, seeing as it's probably one of the few things I didn't try yet and looks like my last hope. I'll post an updated post once I try it but feel free to suggest more things. I'll just ask first how that 3.5.2 beta can fix it, although I have seen it work in a few topics in these forums but don't quite understand how it fixed it.

Thank you

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now