Page 1 of 1

path :d:\ webhost\ plgyzx\ web\ baseinfo of access is denied

Posted: Thu Jun 16, 2011 10:25 pm
by huacent
Administrator hello!

i'm from china, using stimulsoft reports for asp. netthe development. in a question on the path : d:\ webhost\ plgyzx\ web\ baseinfo of access is denied, i have leased the virtual space. to write directly modify permissions the code below :

protected void Page_Load(object sender, EventArgs e)
{
if (this.StiWebViewer1.IsImageRequest) return;
{
intVID = int.Parse(Request.QueryString["V_ID"]);
StiReport rpMV = new StiReport();

rpMV.Load(Server.MapPath(@"~/Reports/" + "MVReport2011.mrt"));
rpMV.Compile();
rpMV.CompiledReport.DataSources[0].Parameters[0].ParameterValue = intVID;
this.StiWebViewer1.Report = rpMV;
}
}

help me,thank's !!

path :d:\ webhost\ plgyzx\ web\ baseinfo of access is denied

Posted: Fri Jun 17, 2011 9:35 am
by Vladimir
Hello,

This means that the Web application is denied access to the specified folder. To do this you need to allow Web applications to access a local directory.

Thank you.

path :d:\ webhost\ plgyzx\ web\ baseinfo of access is denied

Posted: Fri Jun 17, 2011 7:07 pm
by huacent
thank you!!

path :d:\ webhost\ plgyzx\ web\ baseinfo of access is denied

Posted: Fri Jun 17, 2011 10:26 pm
by Andrew
Hello,

Have a great day!

Thank you.