Author |
|
mangesh.barmate Newbie
Joined: 18 May 2016 Location: India
Online Status: Offline Posts: 20
|
Posted: 20 May 2016 at 8:20am | IP Logged
|
|
|
Hi,
I have downloaded WebMail Pro ASP.NET. I have open it into Visual Studio 2015. I have build a Website and found below error-
The type or namespace name 'Calendar_NET' could not be found (are you missing a using directive or an assembly reference?)
From where I need to download this reference/belonging Assembly?
Suggest me Step by Step as a Website is too big.
Thanks.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 20 May 2016 at 8:26am | IP Logged
|
|
|
Are you getting that error when compiling WebMail Pro ASP.NET? Does the problem occur when you run compile.bat file?
The namespace is a solid part of the Pro, it should be found in calendar.aspx.cs file as well as in files under calendar folder.
Also, I wonder why exactly is the need to build the project. It shouldn't require that to use WebMail.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mangesh.barmate Newbie
Joined: 18 May 2016 Location: India
Online Status: Offline Posts: 20
|
Posted: 20 May 2016 at 9:17am | IP Logged
|
|
|
Hi,
Thanks Calendar_NET issue got resolved.
Now, I am not able to solve the following error-
The type or namespace name 'CalendarDBWorker' could not be found(are you missing a using directive or an assembly reference?)
Where I am getting this class, I have seen this class is not available on the Website.
Suggest me.
Thanks.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 20 May 2016 at 9:24am | IP Logged
|
|
|
I still have no clue what and why exactly you are doing, and I can't really help if you disregard the questions.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 20 May 2016 at 9:26am | IP Logged
|
|
|
Also, I have just run a search through the files of WebMail Pro ASP.NET, and the namespace is perfectly found in calendar/DBWorker.cs file.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mangesh.barmate Newbie
Joined: 18 May 2016 Location: India
Online Status: Offline Posts: 20
|
Posted: 20 May 2016 at 11:43pm | IP Logged
|
|
|
Hi,
Thank you for informed me on time. DBWorker.cs file issue got resolved.
Now, I am getting below error-
"The type or namespace name "AuthType" could not be found (Are you missing a using directive or an assembly reference?)" in App_Code/AddressBookLDapSettings.cs file.
Please suggest, What need to add/modify.
Thanks.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 21 May 2016 at 8:15pm | IP Logged
|
|
|
Quote:
The type or namespace name "AuthType" could not be found
...
Please suggest, What need to add/modify. |
|
|
There should be no need to modify anything. AuthType is made available by System.DirectoryServices.Protocols Namespace which is a part of .NET Framework, not of WebMail Pro.
Note that you need .NET Framework 2.0 SP1 at least, 2.0 without SP1 won't work - exactly because of LDAP functionality.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
mangesh.barmate Newbie
Joined: 18 May 2016 Location: India
Online Status: Offline Posts: 20
|
Posted: 22 May 2016 at 2:07am | IP Logged
|
|
|
Hi,
I am running website developed in ASP.NET. It am receiving error on below line-
public AuthType AuthenticationType { get { return _authType; } }
As per my knowledge, I have downloaded system.directoryservices.protocols.dll from below url-
http://dllyes.com/system-directoryservices-protocols-dll/
I have added dll to my website Bin folder.
I have added reference into my .aspx page like below-
using System.DirectoryServices.Protocols;
Still I am receiving the same error message and also dll reference not recognized-
'The type or namespace name '' DirectoryServices" does not exists in the namespace (Are you missing an assembly refernce?)
For class -
public AuthType AuthenticationType { get { return _authType; } }
Error:
'The type or namespace name ''AuthType" does not exists in the namespace (Are you missing an assembly refernce?)
I have seen one article, suggest me instal ".NET Framework 2.0 SP1". However, I am not able to install mentioned software as I already have installed ".NET Framework 3.5 SP1", ".NET Framework 2.0 SP2", "Microsoft .NET Framework 4.5.1", "Microsoft .NET Framework 4- Running Update 3" and "Microsoft .NET Framework 4- Update 4.0.2 only".
Please suggest further action.
What I have tried:
I have tried to find out class assembly downloaded from below url, add reference and build-
http://dllyes.com/system-directoryservices-protocols-dll/
Thanks.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 May 2016 at 8:35am | IP Logged
|
|
|
No idea, sorry. As long as you're running .NET Framework 2.0 SP1 or any newer one, the namespace should be there.
We can only provide support for our own product. Reusing its components in other applications is not supported, you're doing that at your own risk. Please also note that WebMail Pro is not an open-source product - it's a commercial application, you are required to purchase a license for using the product either standalone or integrated elsewhere.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|