Forum

Error executing 'BA...
 
Notifications
Clear all

Error executing 'BACKUP' task. Value cannot be null. Parameter name: path1

Page 4 / 5

indexebusiness
Posts: 29
(@indexebusiness)
Eminent Member
Joined: 5 years ago

Hi

We are still having this problem so we also ran that Stored Procedure for one of our users (@squazz if you click on the user in the Portal you can get the ActorID from the UserID which is here URL Default.aspx?pid=Home&UserID=) and we did get some output. I believe the ServiceItemProperties should contain data and it doesn't?  

Ssms 210629 101831

What can we check now?

Reply
indexebusiness
Posts: 29
(@indexebusiness)
Eminent Member
Joined: 5 years ago

Hi Forum

After working my way through the code I can see now why there is a NULL entry and it has nothing to do with the OS folder or Hosting package. It would appear that when 1.4.7 was released there was an extra configuration setting that was added to the SQL Server Provider and this needed to be filled in for the SQL Service through the Portal.

ef91a3a#diff-10e3e03e7eca19677b5292d230b73eabd751bc783c2c82151375435a6619a786

I have now added a SolidCP Server backup path AKA DatabaseBackupLocation and the backups are working again.

How were we meant to see that this new setting had been added after the update?

Reply
1 Reply
Squazz
(@squazz)
Joined: 11 months ago

Eminent Member
Posts: 22

@indexebusiness Glad you got it working! 🙂

Uunfortunately I still have the same problem :/
The first thing I did when I set up the server was

When I created the server, I pointed "SolidCP Server backup path:" to "C:\SqlBackups" and I gave "everyone" full rights to that folder

I wonder what could cause my problem :/

Reply
Squazz
Posts: 22
Topic starter
(@squazz)
Eminent Member
Joined: 11 months ago

@trobinson got time to look at my reply? 🙂

Reply
Trevor Robinson
Posts: 1385
Admin
(@trobinson)
Member
Joined: 6 years ago

Hello,

The new backup path option should be using the default path when null.

@squazz have you tried to fill in the backup path and network path along with a share created for the SQL server?

Regards,

Trevor

Reply
Squazz
Posts: 22
Topic starter
(@squazz)
Eminent Member
Joined: 11 months ago

@trobinson yup, just did that. I'm now getting the following error

"System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Error executing 'BACKUP' task on 'customer' SQL_DATABASE ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: The media loaded on "\\WIN-RL37GBK5MUI\SqlBackups/customer.bak" is formatted to support 2 media families, but 1 media families are expected according to the backup device specification.
BACKUP DATABASE is terminating abnormally."

 

When trying to expand the folder path I get the following error:
"Error: Server was unable to process request. ---> Value cannot be null. Parameter name: path1"

image

 

Reply
Page 4 / 5
Share:
Downloads