SAP Knowledge Base Article - Public

# 1307440- Error "Object Expected" when loading a report using a relative path

### Symptom

Loading a report in an RDC ASP application using a relative path throws the error "Object Expected"

### Cause

If the IIS virtual folder has a Local Path property that starts with \ instead of a fully qualified path (e.g. \myfolder instead of c:\myfolder) then the code will be run from c:\inetpub\wwwroot\myfolder, but the RDC SDK will attempt to load the report from c:\myfolder.

### Resolution

Create a virtual folder that uses a fully qualified local path instead of a relative path.

e.g.

C:\inetpub\wwwroot\myfolder