i have a visual studio website that i am integrating with community
server, a third party software for creating communities. To
paraphrase, i am trying to have users that log in to my site
automatically log in to the community server site (which is its own web
application, with its own dlls and web.config files, and in a separate
directory etc). To do this, i need to access the classes located in
the community server dll...
Sounds easy enough - I referenced the dll's located in that directory
through visual studio, and it copies the dll over to the website's bin
direcotry. However, i find then that there are multiple dependencies
on other dll's, as well web.config files, and directory structures that
the dll expects. If i just keep referencing dll's and copying files
over to my website project, the project will be convuluted with a bunch
of "crap." I'd like to keep my project separate from the community
server project.
So, I'd like to be able to reference the dll directly in the other web
application. I noticed that in visual studio projects, you can select
something like "keep local" for the dll's, but that option is not
available in the website project. Also, as those dll's will be loaded
into memory, i don't want to create another copy of the same dll within
my project. I just want to use "their" copy of the dll. This way, the
dll also knows where to find the web.config files, etc that it depends
on. How do i accomplish this?
Sorry, not sure if i clearly stated what i'm trying to do. If not, i
can clarify further. Thanks... 5 1944
benliu,
See if this information helps: http://www.asp101.com/articles/jayra...te/default.asp
Regards,
--
S. Justin Gengo
Web Developer / Programmer
Free code library: http://www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"benliu" <be****@iasport smedia.comwrote in message
news:11******** **************@ s53g2000cws.goo glegroups.com.. .
>i have a visual studio website that i am integrating with community
server, a third party software for creating communities. To
paraphrase, i am trying to have users that log in to my site
automatically log in to the community server site (which is its own web
application, with its own dlls and web.config files, and in a separate
directory etc). To do this, i need to access the classes located in
the community server dll...
Sounds easy enough - I referenced the dll's located in that directory
through visual studio, and it copies the dll over to the website's bin
direcotry. However, i find then that there are multiple dependencies
on other dll's, as well web.config files, and directory structures that
the dll expects. If i just keep referencing dll's and copying files
over to my website project, the project will be convuluted with a bunch
of "crap." I'd like to keep my project separate from the community
server project.
So, I'd like to be able to reference the dll directly in the other web
application. I noticed that in visual studio projects, you can select
something like "keep local" for the dll's, but that option is not
available in the website project. Also, as those dll's will be loaded
into memory, i don't want to create another copy of the same dll within
my project. I just want to use "their" copy of the dll. This way, the
dll also knows where to find the web.config files, etc that it depends
on. How do i accomplish this?
Sorry, not sure if i clearly stated what i'm trying to do. If not, i
can clarify further. Thanks...
Thanks, that might work, although still will take a bit of work. Is
there really no way to use a dll in a different application??
S. Justin Gengo wrote:
benliu,
See if this information helps:
http://www.asp101.com/articles/jayra...te/default.asp
Regards,
--
S. Justin Gengo
Web Developer / Programmer
Free code library: http://www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"benliu" <be****@iasport smedia.comwrote in message
news:11******** **************@ s53g2000cws.goo glegroups.com.. .
i have a visual studio website that i am integrating with community
server, a third party software for creating communities. To
paraphrase, i am trying to have users that log in to my site
automatically log in to the community server site (which is its own web
application, with its own dlls and web.config files, and in a separate
directory etc). To do this, i need to access the classes located in
the community server dll...
Sounds easy enough - I referenced the dll's located in that directory
through visual studio, and it copies the dll over to the website's bin
direcotry. However, i find then that there are multiple dependencies
on other dll's, as well web.config files, and directory structures that
the dll expects. If i just keep referencing dll's and copying files
over to my website project, the project will be convuluted with a bunch
of "crap." I'd like to keep my project separate from the community
server project.
So, I'd like to be able to reference the dll directly in the other web
application. I noticed that in visual studio projects, you can select
something like "keep local" for the dll's, but that option is not
available in the website project. Also, as those dll's will be loaded
into memory, i don't want to create another copy of the same dll within
my project. I just want to use "their" copy of the dll. This way, the
dll also knows where to find the web.config files, etc that it depends
on. How do i accomplish this?
Sorry, not sure if i clearly stated what i'm trying to do. If not, i
can clarify further. Thanks...
Hi,
I am not sure if this helps, but this is not a good design to directly
access the DLL's of the community server application.
If possible, you should maybe make a web service in the community
server app and use that web service to log in from your app. Or you
could host the DLLs via remoting and then call them from your app.
Of course, for both of these, I am thinking that you can make a change
to the community server app.
If not, then my suggestions won't help a lot.
- Vaibhav
benliu wrote:
i have a visual studio website that i am integrating with community
server, a third party software for creating communities. To
paraphrase, i am trying to have users that log in to my site
automatically log in to the community server site (which is its own web
application, with its own dlls and web.config files, and in a separate
directory etc). To do this, i need to access the classes located in
the community server dll...
Sounds easy enough - I referenced the dll's located in that directory
through visual studio, and it copies the dll over to the website's bin
direcotry. However, i find then that there are multiple dependencies
on other dll's, as well web.config files, and directory structures that
the dll expects. If i just keep referencing dll's and copying files
over to my website project, the project will be convuluted with a bunch
of "crap." I'd like to keep my project separate from the community
server project.
So, I'd like to be able to reference the dll directly in the other web
application. I noticed that in visual studio projects, you can select
something like "keep local" for the dll's, but that option is not
available in the website project. Also, as those dll's will be loaded
into memory, i don't want to create another copy of the same dll within
my project. I just want to use "their" copy of the dll. This way, the
dll also knows where to find the web.config files, etc that it depends
on. How do i accomplish this?
Sorry, not sure if i clearly stated what i'm trying to do. If not, i
can clarify further. Thanks...
Vaibhav,
Thanks for the suggestions. Why is it bad design to directly access
the dll's?
And yes, i can modify the code in the community server app, so i can
write a web service - i had not thought of that and that should work
great - i'm not familiar with remoting? Can you elaborate a bit on
that method?
Thanks much,
Ben
V wrote:
Hi,
I am not sure if this helps, but this is not a good design to directly
access the DLL's of the community server application.
If possible, you should maybe make a web service in the community
server app and use that web service to log in from your app. Or you
could host the DLLs via remoting and then call them from your app.
Of course, for both of these, I am thinking that you can make a change
to the community server app.
If not, then my suggestions won't help a lot.
- Vaibhav
benliu wrote:
i have a visual studio website that i am integrating with community
server, a third party software for creating communities. To
paraphrase, i am trying to have users that log in to my site
automatically log in to the community server site (which is its own web
application, with its own dlls and web.config files, and in a separate
directory etc). To do this, i need to access the classes located in
the community server dll...
Sounds easy enough - I referenced the dll's located in that directory
through visual studio, and it copies the dll over to the website's bin
direcotry. However, i find then that there are multiple dependencies
on other dll's, as well web.config files, and directory structures that
the dll expects. If i just keep referencing dll's and copying files
over to my website project, the project will be convuluted with a bunch
of "crap." I'd like to keep my project separate from the community
server project.
So, I'd like to be able to reference the dll directly in the other web
application. I noticed that in visual studio projects, you can select
something like "keep local" for the dll's, but that option is not
available in the website project. Also, as those dll's will be loaded
into memory, i don't want to create another copy of the same dll within
my project. I just want to use "their" copy of the dll. This way, the
dll also knows where to find the web.config files, etc that it depends
on. How do i accomplish this?
Sorry, not sure if i clearly stated what i'm trying to do. If not, i
can clarify further. Thanks...
Ben,
The reason I say it is bad design is simply because your community
server dlls were probably not designed (an assumption on my part), to
be accessed as a class library by an external app. Hence, I don't think
that it is a good design to actually do so.
I think that when an application (community server) wants to expose an
interface to another application, it should be through a well defined
API. In your case, you are treating the dlls of the community server as
if they were part of your own application.
I would say it was still better, if the dlls that you are referencing
were considered as a third component and were made into a shared
library and published in the GAC, from where both the community server
and your app should reference them.
I hope you understand what i am saying, because i realize that what i
wrote above is not very crisp.
As for Remoting, it is a mechanism through which you can share objects
over a network. it is hard for me to explain but this link offers a
quick intro: http://samples.gotdotnet.com/quickst...nfeatures.aspx
Let me know if I can help out in any other way.
- Vaibhav
benliu wrote:
Vaibhav,
Thanks for the suggestions. Why is it bad design to directly access
the dll's?
And yes, i can modify the code in the community server app, so i can
write a web service - i had not thought of that and that should work
great - i'm not familiar with remoting? Can you elaborate a bit on
that method?
Thanks much,
Ben
V wrote:
Hi,
I am not sure if this helps, but this is not a good design to directly
access the DLL's of the community server application.
If possible, you should maybe make a web service in the community
server app and use that web service to log in from your app. Or you
could host the DLLs via remoting and then call them from your app.
Of course, for both of these, I am thinking that you can make a change
to the community server app.
If not, then my suggestions won't help a lot.
- Vaibhav
benliu wrote:
i have a visual studio website that i am integrating with community
server, a third party software for creating communities. To
paraphrase, i am trying to have users that log in to my site
automatically log in to the community server site (which is its own web
application, with its own dlls and web.config files, and in a separate
directory etc). To do this, i need to access the classes located in
the community server dll...
>
Sounds easy enough - I referenced the dll's located in that directory
through visual studio, and it copies the dll over to the website's bin
direcotry. However, i find then that there are multiple dependencies
on other dll's, as well web.config files, and directory structures that
the dll expects. If i just keep referencing dll's and copying files
over to my website project, the project will be convuluted with a bunch
of "crap." I'd like to keep my project separate from the community
server project.
>
So, I'd like to be able to reference the dll directly in the other web
application. I noticed that in visual studio projects, you can select
something like "keep local" for the dll's, but that option is not
available in the website project. Also, as those dll's will be loaded
into memory, i don't want to create another copy of the same dll within
my project. I just want to use "their" copy of the dll. This way, the
dll also knows where to find the web.config files, etc that it depends
on. How do i accomplish this?
>
Sorry, not sure if i clearly stated what i'm trying to do. If not, i
can clarify further. Thanks...
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: JohnD |
last post by:
I am using XP Pro and when I try and run an ASP.NET page on my own server I recieve the following error messag
Server cannot access application directory ..(web directory here)... The directory does not exist or is not accessible because of security settings.
The link below this line is attached to a microsoft knowledge base article that addresses this issue, but I can not seem to make the resoultion work in windows XP Pro. Particularly I...
|
by: nickdu |
last post by:
I'm trying to isolate "applications" into their own application domain within
a single process. I've quoted applications because it's a logical
representation of an application. Basically it consists of a bunch of
components supplied by some application group. I got this to work, somewhat.
The problem is that the application performs roughly (and this has not been
measured, but a guess based on the rendering of the application GUI) 10x...
|
by: EO |
last post by:
I'm using an ISP with poor tech support. I apologize if this is more of an
ISP question, but it is an asp.net question as well.
I have a root domain pointing to a root level folder. There are several
folders in this root domain, each of which are aliased to other domain
names.
I used Visual Studio, through FP Extensions, logging in through the root
level domain name to create a web application in a new directory, then
published an...
|
by: rdcpro |
last post by:
In reading MSDN docs on creating custom Configuration sections, I found this
page:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfcustomelementfornamevaluesectionhandlerdictionarysectionhandler.asp
At the very bottom, it says:
Configuration File
This element can be used in the application configuration file, machine
configuration file (Machine.config), and Web.config files that are not at the
|
by: M |
last post by:
I installed the Visual Basic .NET Resource Kit.
When I click 'Visual Basic .NET Resource Kit'
the page
at 'http://localhost/VB.NETResourceKit/Welcome.aspx'
show:
Server Error in '/VB.NETResourceKit' Application.
-----------------------------------------------------------
---------------------
Server cannot access application directory 'D:\Program
| |
by: lanem |
last post by:
I want to add a Temp folder to my application folder in Program
Files/whatever when I install my windows app on a client machine. I've got
everything else working with the install, but now I want to add an empty Temp
folder in the app directory for me to use in the program. Please give me
detailed steps if possible, b/c I am new to windows development. Thanks.
|
by: Chris McCandless |
last post by:
Hi,
I am not sure I will be able to explain the problem I am having, but I
will do my best. I have developed an ASP.NET 1.1 application for a
client in VB. It is a program that contains stock information.
When the user clicks on a specific stock symbol (ex. 'MSFT'), the
client wants the user to be taken to Standard and Poor's Advisor
Insight application. This is a separate application that the client
does not control:
|
by: Matthias Wohlmann |
last post by:
Hi,
I'm getting the following error when trying to start my application
using Internet Explorer:
"Server cannot access application directory D:\xxx. The directory does
not exist or is not accessible because of security settings."
In IIS I have set Directory Security for my application to allow
Anonymous access (using IUSR_<Server>) and Integrated Windows
authentication.
In the web.config i have set impersonation="true" userName="test"....
|
by: rajalingam |
last post by:
Server Error in '/library' Application.
--------------------------------------------------------------------------------
Server cannot access application directory 'F:\Library Latest Code\'. The directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where...
|
by: codefragment |
last post by:
Hi
I'm trying to understand this but not doing so well.
Evidence links permission sets to code groups. Cdeo Groups gets
union'd, security policies get inersected.
Given that if I have a codegroup that uses Application Directory to
grant a permission what exactly is it I'm doing, what passes the test
if you like?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |