Hi, on the localhost evrything works, on the server I receive this error:
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'Utilities' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 13: using System.Data.OleDb;
Line 14: using Microsoft.VisualBasic;
Line 15: using Utilities;
Line 16: using InfoSoftGlobal;
Line 17: //using System.Drawing;
Source File: d:wwwsolarsearch.co.zawwwroottestoutput.aspx.cs Line: 15
Show Detailed Compiler Output:
c:windowssystem32inetsrv> "C:WINDOWSMicrosoft.NETFrameworkv3.5csc.exe" /t:library /utf8output /R:"C:WINDOWSassemblyGAC_MSILSystem.Windows.Forms2.0.0.0__b77a5c561934e089System.Windows.Forms.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Data.DataSetExtensions3.5.0.0__b77a5c561934e089System.Data.DataSetExtensions.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Runtime.Serialization3.0.0.0__b77a5c561934e089System.Runtime.Serialization.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Web.Mobile2.0.0.0__b03f5f7f11d50a3aSystem.Web.Mobile.dll" /R:"C:WINDOWSassemblyGAC_MSILMicrosoft.VisualBasic8.0.0.0__b03f5f7f11d50a3aMicrosoft.VisualBasic.dll" /R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorlib.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.WorkflowServices3.5.0.0__31bf3856ad364e35System.WorkflowServices.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Design2.0.0.0__b03f5f7f11d50a3aSystem.Design.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.ServiceModel3.0.0.0__b77a5c561934e089System.ServiceModel.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem2.0.0.0__b77a5c561934e089System.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Drawing2.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Core3.5.0.0__b77a5c561934e089System.Core.dll" /R:"C:WINDOWSassemblyGAC_32System.EnterpriseServices2.0.0.0__b03f5f7f11d50a3aSystem.EnterpriseServices.dll" /R:"C:WINDOWSassemblyGAC_32System.Data2.0.0.0__b77a5c561934e089System.Data.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Web.Services2.0.0.0__b03f5f7f11d50a3aSystem.Web.Services.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.ServiceModel.Web3.5.0.0__31bf3856ad364e35System.ServiceModel.Web.dll" /R:"C:WINDOWSassemblyGAC_32System.Web2.0.0.0__b03f5f7f11d50a3aSystem.Web.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Xml.Linq3.5.0.0__b77a5c561934e089System.Xml.Linq.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Configuration2.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Web.Extensions3.5.0.0__31bf3856ad364e35System.Web.Extensions.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.IdentityModel3.0.0.0__b77a5c561934e089System.IdentityModel.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Xml2.0.0.0__b77a5c561934e089System.Xml.dll" /out:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesroot5df249ccbc65b101App_Web_jd1gwazc.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701 /warnaserror- "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesroot5df249ccbc65b101App_Web_jd1gwazc.0.cs" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesroot5df249ccbc65b101App_Web_jd1gwazc.1.cs" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesroot5df249ccbc65b101App_Web_jd1gwazc.2.cs"
Microsoft ® Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft ® .NET Framework version 3.5
Copyright © Microsoft Corporation. All rights reserved.
d:wwwsolarsearch.co.zawwwroottestoutput.aspx.cs(15,7): error CS0246: The type or namespace name 'Utilities' could not be found (are you missing a using directive or an assembly reference?)
d:wwwsolarsearch.co.zawwwroottestoutput.aspx.cs(16,7): error CS0246: The type or namespace name 'InfoSoftGlobal' could not be found (are you missing a using directive or an assembly reference?)
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
I've tried on 2 different servers one with framework 2 and another with 4.
FushionCharts.dll is in the bin folder and Util.cs is in the app_code folder.
I've gone through your forums put nothing seems to work
Page 1 of 1
The type or namespace name 'Utilities' could not be found
Other Replies To This Topic
#2
Posted 06 July 2010 - 05:17 AM
Hi,
Could you please try to run the attached sample and let us know whether it is working or not.
Attached File(s)
-
FC_Sample.zip (65.18K)
Number of downloads: 63
Regards,
Rahul Kumar
Software Engineer
Rahul Kumar
Software Engineer
A byte of magic.
Other Replies To This Topic
#3
Posted 08 July 2010 - 02:56 AM
Hey, it works on the localhost, but on the server I get the same error, I tried it on two different servers.
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'InfoSoftGlobal' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 8: using System.Web.UI.WebControls;
Line 9: using System.Web.UI.WebControls.WebParts;
Line 10: using InfoSoftGlobal;
Line 11: public partial class _Default : System.Web.UI.Page
Line 12: {
Source File: d:hshomeeish2oeish2o.co.zatestSampleDefault.aspx.cs Line: 10
Show Detailed Compiler Output:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'InfoSoftGlobal' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 8: using System.Web.UI.WebControls;
Line 9: using System.Web.UI.WebControls.WebParts;
Line 10: using InfoSoftGlobal;
Line 11: public partial class _Default : System.Web.UI.Page
Line 12: {
Source File: d:hshomeeish2oeish2o.co.zatestSampleDefault.aspx.cs Line: 10
Show Detailed Compiler Output:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Other Replies To This Topic
#4
Posted 09 July 2010 - 01:56 AM
Hi,
It might be possible that your Firewall or Antivirus on the server is not allowing to access the DLL, so could you please set these off and try once?
Regards,
Rahul Kumar
Software Engineer
Rahul Kumar
Software Engineer
A byte of magic.
Other Replies To This Topic
Page 1 of 1

Back to top
MultiQuote
