Virtual Directories and ColfFusion
This is really hot but I need to know what happens when
ColdFusion accessed a Virtual Directory. Does any one have a
architect of this for ColdFusion?
This is REALLY HOT and I need this ASAP. I have the following
but I need to add the VD part.
Jim
> ColdFusion accessed a Virtual Directory
I'm guessing you mean Virtual Directories in IIS?
I don't think CF is the one actually accessing these
directories? I think IIS
simply has a map from the virtual to the physical, and it's
the physical that IIS
passes to CF?
Meaning, CF is unaware of the Virtual Directory? This is not
to say that .cfm
files located in Virtual Directories do not get processed by
CF.
Good luck!
Similar Messages
-
Restore the deleted extended IIS web site into Virtual directories
Hi,
i deleted the IIS site from virtual directories and as well from IIS. But still i can see the extended web site zone in the Central administration, General Settings from the remove SharePoint from IIS web site. now question is there any way i can restore
the deleted iis site zone any how?
ThanksHi Trevor,
Thanks for your answer. i need some suggestion regarding on going issue. First i have created a web application at port 80 when it was in singer server and then i extended to 443 and 80 in multi-tier farm as you can see in the below image
And then i deleted IIS site from IIS itself and from Virtual directories as you can see in the below picture. Then i blinded the "SharePointDemo-80" site with host header at port 443 With default zone AAM. now i can access the site well but problem
is if i want to deploy any custom solution, getting error "The web.config is invalid on this IIS web site: "C:\inetpub\wwwroot\wss\VirtualDirectories\demoportal.bbcat.local80\web.config. " and also crawler is not crawling any items. my
understanding is, as there is no IIS site into virtual directories obviously will throwing error. Usually first i create web application at different port (example 8080) and then extend the application to 80 or 443. As i have already place this web application
and did customization, what will be the best way to handle this situation?
Thanks in advanced!! -
Exchange 2013 Autodiscover and Webservices virtual directories with wrong address
Hey people,
I have 3 2013 Servers
Server 1 CAS
Server 2 & 3 MBX
having a bit of trouble here - everything was working fine after migration (about 6months ago), and now mac users can't access e-mail.
If I try to access EWS page (https://webmail.domain.co.ao/EWS/exchange.asmx) , i get
Service
You have created a service.
To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:
svcutil.exe https://SERVER2.domain.int:444/EWS/Services.wsdl
If I try to access the autodiscover webpage, i get
<?xml version="1.0" encoding="UTF-8"?>
-<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">-<Response>-<Error Id="1286627925" Time="17:58:59.7730521"><ErrorCode>600</ErrorCode><Message>Invalid Request</Message><DebugData/></Error></Response></Autodiscover>
When testing outlook web services, i get the following error
[PS] C:\Windows\system32>Test-OutlookWebServices
Source ServiceEndpoint Scenario Result Latency
(MS)
SERVER2.domain.int webmail.domain.co.ao Autodiscover: Outlook Provider Failure 64
SERVER2.domain.int Exchange Web Services Skipped 0
SERVER2.domain.int Availability Service Skipped 0
SERVER2.domain.int Offline Address Book Skipped 0
if i run
[PS] C:\Windows\system32>Get-AutodiscoverVirtualDirectory | fl
Creating a new session for implicit remoting of "Get-AutodiscoverVirtualDirectory" command...
RunspaceId : 9f23dad1-7806-42a6-8545-89b66847a359
Name : Autodiscover (Default Web Site)
InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated, WSSecurity, OAuth}
ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated, WSSecurity, OAuth}
LiveIdNegotiateAuthentication : False
WSSecurityAuthentication : True
LiveIdBasicAuthentication : False
BasicAuthentication : True
DigestAuthentication : False
WindowsAuthentication : True
OAuthAuthentication : True
AdfsAuthentication : False
MetabasePath : IIS://SERVER1.domain.int/W3SVC/1/ROOT/Autodiscover
Path : C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\Autodiscover
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags : {}
ExtendedProtectionSPNList : {}
AdminDisplayVersion : Version 15.0 (Build 775.38)
Server : SERVER1
InternalUrl : https://webmail.domain.co.ao/autodiscover/autodiscover.xml
ExternalUrl : https://webmail.domain.co.ao/autodiscover/autodiscover.xml
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=Autodiscover (Default Web
Site),CN=HTTP,CN=Protocols,CN=SERVER1A,CN=Servers,CN=Exchange Administrative
Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=DOMAIN,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=domain,DC=int
Identity : SERVERONE\Autodiscover (Default Web Site)
Guid : fbed978f-7442-46ac-bb3c-53d9d7995507
ObjectCategory : domain.int/Configuration/Schema/ms-Exch-Auto-Discover-Virtual-Directory
ObjectClass : {top, msExchVirtualDirectory, msExchAutoDiscoverVirtualDirectory}
WhenChanged : 12/19/2013 10:30:26 AM
WhenCreated : 12/19/2013 10:30:26 AM
WhenChangedUTC : 12/19/2013 9:30:26 AM
WhenCreatedUTC : 12/19/2013 9:30:26 AM
OrganizationId :
OriginatingServer : DC2.domain.int
IsValid : True
ObjectState : Changed
and run
[PS] C:\Windows\system32>Get-WebServicesVirtualDirectory | fl
RunspaceId : 9f23dad1-7806-42a6-8545-89b66847a359
CertificateAuthentication :
InternalNLBBypassUrl :
GzipLevel : High
MRSProxyEnabled : False
Name : EWS (Default Web Site)
InternalAuthenticationMethods : {Basic, Digest}
ExternalAuthenticationMethods : {Basic, Digest}
LiveIdNegotiateAuthentication :
WSSecurityAuthentication : False
LiveIdBasicAuthentication : False
BasicAuthentication : True
DigestAuthentication : True
WindowsAuthentication : False
OAuthAuthentication : False
AdfsAuthentication : False
MetabasePath : IIS://SERVER1.domain.int/W3SVC/1/ROOT/EWS
Path : C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\EWS
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags : {}
ExtendedProtectionSPNList : {}
AdminDisplayVersion : Version 15.0 (Build 775.38)
Server : SERVER1
InternalUrl : https://webmail.domain.co.ao/EWS/exchange.asmx
ExternalUrl : https://webmail.domain.co.ao/EWS/exchange.asmx
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=EWS (Default Web Site),CN=HTTP,CN=Protocols,CN=SERVRE1,CN=Servers,CN=Exchange
Administrative Group (FYDIBOHF23SPDLT),CN=Administrative
Groups,CN=DOMAINL,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domainl,DC=int
Identity : SERVER1\EWS (Default Web Site)
Guid : cbdd447b-54f8-4bba-9834-6c28b807711e
ObjectCategory : domain.int/Configuration/Schema/ms-Exch-Web-Services-Virtual-Directory
ObjectClass : {top, msExchVirtualDirectory, msExchWebServicesVirtualDirectory}
WhenChanged : 12/19/2013 9:31:11 AM
WhenCreated : 12/19/2013 9:31:11 AM
WhenChangedUTC : 12/19/2013 8:31:11 AM
WhenCreatedUTC : 12/19/2013 8:31:11 AM
OrganizationId :
OriginatingServer : DC2.domain.int
IsValid : True
ObjectState : Changed
Summarizing:
webmail.domain.co.ao maps to server1
Autodiscover and exchange web services point out to server1 (CAS), but when openning the respective webpages, the result is an error.
I have already deleted and recreated the autodiscover and EWS virtual directories but with no success.
Help anyone?
Many thanks,
AndreyHi Andrey,
Exchange Web Service in Exchange server configuration is working for all users in your Exchange environment, not just for one specific user. If you want to double make sure the EWS service in client side, we can directly access the EWS URL in IE of your
Windows machine, and see whether a proper XML file is returned. If so, then we can safely ignore the web service test result.
As for automatic signature application, do you mean
Add a signature automatically to every message? Please try to remove the signature and reset it again to check whether the issue persists.
Thanks,
Winnie Liang
TechNet Community Support -
Need to establish Connection between CRM and Virtual Directories.
Dear All,
I am working for Telecom project.
I have one requirement that we need to establish Connection between CRM and Virtual Directories.
This is existing in Access management system.( SAP EP environment )
The basic requirement is, with SAP EP environment we are integrating 8 different application. But for all this Application we have a one more system called Access management system (like Basis in Sap). This will validate the user access and BP(Business Partner ) data for users who logon to a different respective application. For all this applications Company data (Master Data) has to provide from CRM and the changes took place for Company data in CRM will be updated in to Virtual Directories .For this service we need to establish Delta mode connection between SAP CRM and Virtual Directories.
Which is existing in Access management system .
Do we have any standard connectors from SAP CRM to connect and who we can achieve this .
Please let us know..Certainly there will be a reward points
Thanks & regards.
BNPTry posting this question on the BPA Suite forum - http://forums.oracle.com/forums/category.jspa?categoryID=194
-
What is Exchange Virtual directory and its role?
Hello there,
I am new to Exchange and I started reading about Exchange Virtual directories. I am struggling to understand the concept behind Virtual directories in Exchange and what is the role of this component. Can someone please shed some light and better yet supplemental
information to help me understand the concepts behind it? Let me know please. I am looking forward to any reply that would help.
Regards,
Lotusmail1
Franz GarciaHi,
Thank you for your question.
Exchange virtual directory is a directory which store some necessary URL to point to correspondent web page, those URL can provide service for user by Exchange server. it include the following component:
On Exchange CAS server:
Autodiscover: An important function of the Autodiscover service is to provide access to features for clients that are connected to your messaging environment. These features include the web-based offline address book (OAB), the Availability service, and
Unified Messaging (UM). The Autodiscover service must be deployed and configured correctly for clients to automatically connect to features.
ECP: The Exchange Control Panel is a Web application that runs on a Client Access Server providing services for the Exchange organization. This Exchange Control Panel is installed automatically when you install a Client Access server. To manage Exchange
from just about anywhere, you simply need to enter the URL path for the application in your browser’s Address field. You can then access the Exchange Control Panel. By default, the Exchange Control Panel URL is
https://yourserver.yourdomain.com/ecp.
EWS: Exchange Web Services virtual directories support the calendar sharing and other functionality offered by Exchange Web Services. The Exchange Web services included in Exchange provide an XML messaging interface that enables you to manage Exchange store
items and access Exchange server functionality from client applications.
Microsoft-Server-ActiveSync: Exchange ActiveSync is a client protocol that lets you synchronize a mobile device with your Exchange mailbox.
OAB: An offline address book (OAB) is a copy of an address list collection that’s been downloaded so a Microsoft Outlook user can access the address book while disconnected from the server. Microsoft Exchange generates the new OAB files and then compresses
the files and places them on a local share. You can decide which address lists are made available to users who work offline, and you can also configure the method by which the address books are distributed.
OWA: By default, when you install Microsoft Exchange 2013, you enable Outlook Web App. Microsoft Outlook Web App lets users access their Exchange mailbox from almost any Web browser.The Client Access server role provides proxy and redirection services for
Outlook Web App.
PowerShell: The Exchange Management Shell, built on Windows PowerShell technology, provides a powerful command-line interface for Microsoft Exchange Server 2013 that enables automation of administrative tasks. With the Shell, you can manage every aspect
of Exchange. You can enable new email accounts, create Send and Receive connectors, configure database properties, manage distribution groups, and more. The Shell can perform every task that can be performed by the Exchange Administration Center (EAC) plus
things that can't be done in the EAC. In fact, when you do something in the EAC, it's the Shell that's doing the work behind the scenes
On Exchange mailbox server:
PowerShell: this is the same with front CAS server.
We could refer to the following link:
https://technet.microsoft.com/en-us/library/gg247612(v=exchg.150).aspx
If there are any questions regarding this issue, please be free to let me know.
Best Regard,
Jim
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
Jim Xu
TechNet Community Support -
Sccm 2012 DP failed to create iis virtual directories
I am trying to install a branch server as Sccm 2012 DP.
I already installed around 15 branch servers without any problems.
The problem I have is that the branch server failed to create iis virtual directories.
In my console under Monitoring, component status It writes that Distribution Manager successfully installed iis component of operating system to distribution point ""
Next it writes error to send packages to that branch server.
The site server distmgr.log shows the error below:
Failed to start primary service wdsserver
Microsoft Sql Server Native Client 11.0 login failed for user "xxx"
Failed to connect to the sql server connection type : SMS ACCESS
for Display = \\myserver\mswnet: sms_site= XXX failed to get master SCF.
Currently site xxx is initializing site control data. Cant get Master SCF from database at this time. will try later.
DPConnection;;;; ConnectWMI() failed to connect to branch server.
I try to remove the dp role, leave it for 12 hours reboot the server and assign the role again but same problem.
Any idea ?
NikkoscyHi,
Have you installed all features required?
Technet prerequisite list for site system roles:
http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SiteSystemRolePrereqs
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Web sharing - virtual hosts and CGI
This topic might be a bit advanced for this forum, I'm not sure. But here goes.
I'm trying to set up my laptop to act like a web server so that I can do test development on it. I have two web sites, and have successfully created virtual hosts for each of them.
The part that I'm struggling with now is enabling CGIs, as I want to learn to write CGIs in Perl. I can't seem to find any site that discusses how this is done in Leopard. One said something like "just put the CGIs into /Library/WebServer/CGI-Executables and it'll work", but of course, since I've got virtual hosts defined, it seems that anything addressed to "localhost" defaults to the first virtual host and thus there is no way to refer to a CGI placed in that location. Besides which, I'd like to know how to enable CGIs placed in a folder on each of my virtual sites, so that I could test them in place.
Any ideas?One said something like "just put the CGIs into /Library/WebServer/CGI-Executables and it'll work", but of course, since I've got virtual hosts defined, it seems that anything addressed to "localhost" defaults to the first virtual host and thus there is no way to refer to a CGI placed in that location.
That is an incorrect assumption.
By default, Apache is configured to recognize any URI that begins with /cgi-bin and serve that request via a CGI script in /Library/WebServer/CGI-Executables
This is true even though each site's DocumentRoot is set somewhere else on the file system (that's by design since it makes it harder for a remote attacker to affect your CGIs)
Since it does not matter which site the request was on, any /cgi-bin request would be served from there, so:
http://www.domain1.com/cgi-bin/some.cgi
http://www.domains2.net/cgi-bin/other.cgi
would both be served from /Library/WebServer/CGI-Executables even though they are for two different virtual hosts.
Now, of course, if you want each site to be separate and have its own set of CGIs (maybe some.cgi for domain1 does something different from some.cgi on domain2) then this approach causes problems. For this you will need to edit each site to have its own cgi-bin directory.
Unfortunately (although I haven't tested it) I think Matt's solution won't work because Apache is going to catch all /cgi-bin/ requests and serve them from /Library/WebServer/CGI-Executables, never getting to the cgi-bin directory within each site's documentroot.
To set site-specific CGI directories you need to add a ScriptAlias command to each site's .conf, such as:
ScriptAlias /cgi-bin/ /path/to/site/cgi-bin/
This tells apache that any request for /cgi-bin/* should be served from /path/to/site/cgi-bin
Ideally the path should be outside of the site's normal document root, but it can be inside if you really want. -
Multiple Websites or virtual directories in IIS
Hi,
I am kind of confused by the doc:
http://e-docs.bea.com/wls/docs70/plugins/isapi.html#109058
multiple Websites and virtual directories are totally different things.
I am assuming here is talking about the virtual directory. But when I tried to follow the steps to set the Application Protection (last step) I got a popup warning says:
COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator.
what's that mean? how can I set it?
ThanksHi Teser,
I'm glad you wrote this post, because I've been struggling with this beast for the better part of a day now. I find the documentation to be misleading, confusing and poorly written.
I hope that someone can enlighten regarding this one, 'cause I am getting the same error. In the meantime I am trying to find out the meaning of this message and will post it if I find it.
Regards -
Offline address book virtual directories. powershell
Hi ,
how can i using powershell, to add a another oab virtual directory to the offline address book virtual directories.
Get-offlineaddressbook |fl virtualdirectories will bring all existing ones. I want to be able to add another Virtual directory to this multi valued attribute
any help?
ammarhasayenI know I am replying to a 2-year old thread, but I just worked out the answer and I feel this is a good place to share it. I also know my answer is for Exchange Server 2013, not 2010, but I hope it might help anyway.
$NewVirtualDirs = @()Get-OfflineAddressBook -Identity "Default Offline Address Book" | Select-Object -ExpandProperty VirtualDirectories | ForEach-Object { $NewVirtualDirs += $_.ObjectGUID.ToString() }$NewVirtualDirs += (Get-OabVirtualDirectory -Identity "lon-cas2\OAB (Default Web Site)").Guid.ToString()Set-OfflineAddressBook -Identity "Default Offline Address Book" -VirtualDirectories $NewVirtualDirs
I used the GUID because the Name property of the virtual directory does not include the machine name ("OAB (Default Web Site)" instead of "lon-cas2\OAB (Default Web Site)")
The following code (my first approach) does not work (which is a shame).
Set-OfflineAddressBook -Identity "Default Offline Address Book" -VirtualDirectories @{Add="lon-cas2\OAB (Default Web Site)"}
As an aside, I think Fiona's question "May I know why you want to create additional OAB VD?" needs addressing. The answer is 'For fault tolerance." A single OAB virtual directory is a single point of failure, which is bad. I'm a little
surprised a moderator here doesn't understand the value of fault tolerance.
Craig D. Beere, MCT -
Windows IIS virtual directories
I'm setting up CPS and Contribute 3 on a large site. Users in
different departments have access to specific folders that contain
their pages. What I can't seem to be able to do is to add virtual
directories to the users' list of folders to edit (though I really
just want them to be able to link to files in those virtual
directories). The virtual directories contain document libraries
(agendas, minutes, reports, media releases) that are maintained by
another system, so it seemed like a good idea to keep those folders
out of the root folder of the site that the CPS manages. But those
virtual directories don't show up in the list of folders to allow
users to edit. Has anyone run into this problem and found a way
around it? I could just drop the virtual directory idea if that's
the only way.
Tom Benjamin
Web Development Analyst
Capital Regional District, Victoria, BC, CanadaHi,
If NDES is the only CA role service on this server, this problem is expected. Because NDES requires the installation of the Certification Authority Web Enrollment role service on the same Server.
The Certificate Authority Web Enrollment pages are needed since the NDES IIS application is a virtual directory underneath the Web Enrollment pages (CertSrv).
Hope this helps.
Regards,
Bruce
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Who is VERY strange is that (in the "Thomas Larsen" configuration so without installing the "Web
Enrollment pages") ... we can access to the admin page with the url http://serveurNdes/certsrv/mscep_admin" !!! How is it possible !! -
Exchange 2007 to 2013 virtual directories
I'm gathering information before I do my transition to Exchange 2013. One thing I'm not sure about is the virtual directory for OWA. The information I have gathered states to change the internal/external URL to legacy.domain.com. However
my virtual directory for OWA are not defined. How do I approach that? do I just not set anything?
ThanksI planned on configuring each like this below. I'm not using UM but that is also good to know. Outlook Anywhere is enabled on the 2007 side. This is also just a single exchange server
Internal DNS and Certificate will have these entries.
mail.mydomain.com - Points to Exchange 2013
autodiscover.mydomain.com - Points to Exchange 2013
legacy.mydomain.com - Points to Exchange 2007
Set the Virtual Directories on Exchange 2013
Set-OutlookAnywhere -Identity "EXC02\RPC (Default Web Site)" -IISAuthenticationMethods Basic,NTLM
Set-ECPVirtualDirectory -Identity "EXC02\ecp* -InternalURL
https://mail.mydomain.com/ecp -ExternalURL
https://mail.mydomain.com/ecp
Set-OWAVirtualDirectory -Identity "EXC02\OWA* -InternalURL $null -ExternalURL $null
Set-WebServicesVirtualDirectory -Identity "EXC02\ews* -InternalURL
https://mail.mydomain.com/ews/exchange.asmx -ExternalURL
https://mail.mydomain.com/ews/exchange.asmx
Set-OABVirtualDirectory -Identity "EXC02\oab* -InternalURL
https://mail.mydomain.com/oab -ExternalURL
https://mail.mydomain.com/oab
Set-ActiveSyncVirtualDirectory -Identity "EXC02\microsoft* -InternalURL
https://mail.mydomain.com/Microsoft-Server-ActiveSync -ExternalURL
https://mail.mydomain.com/Microsoft-Server-ActiveSync
Set-PowershellVirtualDirectory -Identity "EXC02\powershell* -InternalURL
https://mail.mydomain.com/Powershell -ExternalURL
https://mail.mydomain.com/Powershell
Set-ClientAccessServer -Identity EXC02 -AutoDiscoverServiceInternalURI
https://autodiscover.mydomain.com/autodiscover/autodiscover.xml
Set the Virtual Directories on Exchange 2007
Set-OutlookAnywhere -Identity "EXC01\RPC (Default Web Site)" -IISAuthenticationMethods Basic,NTLM
Set-OutlookAnywhere -Identity "EXC01\Rpc (Default WebSite)" -IISAuthenticationMethods Basic,Ntlm
Set-OWAVirtualDirectory -Identity "EXC01\OWA* -InternalURL https://legacy.mydomain.com/owa -ExternalURL
https://legacy.mydomain.com/owa
Set-WebServicesVirtualDirectory -Identity "EXC01\ews* -InternalURL
https://mail.mydomain.com/ews/exchange.asmx -ExternalURL
https://mail.mydomain.com/ews/exchange.asmx
Set-OABVirtualDirectory -Identity "EXC01\oab* -InternalURL
https://legacy.mydomain.com/oab -ExternalURL
https://legacy.mydomain.com/oab
Set-ActiveSyncVirtualDirectory -Identity "EXC01\microsoft* -InternalURL
https://mail.mydomain.com/Microsoft-Server-ActiveSync -ExternalURL $null
Set-PowershellVirtualDirectory -Identity "EXC01\powershell* -InternalURL
https://legacy.mydomain.com/Powershell -ExternalURL
https://legacy.mydomain.com/Powershell
Set-ClientAccessServer -Identity EXC01 -AutoDiscoverServiceInternalURI
https://autodiscover.mydomain.com/autodiscover/autodiscover.xml -
Virtual directories on second exchange server
On my first Exchange install I changed all the virtual directory's to point to mail.domain.com. I've added a second exchange server to another site and have round robin dns including the host name in the A record "mail". Would I also
change the virtual directories on the second server to mail.domain.com?Hi
You can create a DAG if the servers are on the same OS and same version.
You can then install your certificate that has the name mail.domain.com and change your urls to match the first server.
You need to update DNS with a A record if you using Round Robin so that mail.domain.com points to server A but also server B, so in short you will have 2 records with the same name but pointing to different servers.
Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Multiple OWA & ECP Virtual Directories on Exchange 2010 - 500 internal server error
hello folks,
I've been using below link to create multiple owa & ecp virtual directories on exchange 2010, but I have similar error -500 internal server error
during auth.owa from my 2nd owa url login.
exactly steps follow as below:-
http://johnyassa.wordpress.com/2012/06/07/publish-multiple-owa-ecp-virtual-directories-on-one-exchange-2010-cas-server/
did anyone has come across on this issue and do mind share to me?
thanks
regards
Jimmyhi Ed Crowley,
thanks for responding to me...
yes, I'm exactly follow blog below to configure my 2nd OWA URL with form based authentication method. upon login to my 2nd OWA URL, the owa authentication failed with return 500 - internal server error.
http://johnyassa.wordpress.com/2012/06/07/publish-multiple-owa-ecp-virtual-directories-on-one-exchange-2010-cas-server/ -
Coldfusion 9.01 no longer recognizes virtual directories
Hi -
I have an application that has been working fine for over a year and now anything that references Virtual Directories no longer functions. Here are the details:
Coldfusion is running on Windows Server 2003 Enterprise.
Using IIS6 for the web server on the same box.
I have several virtual directories setup that reference files on another server on the same network.
What I did to break things... I installed Apache (the latest release) along with PHP - but I set Apache up to listen on a different port (8080). Suddently any part of my code that tries to reference a file that is found through a virtual directory generates the following error:
An error occurred when performing a file operation exists on file /serverpdfs/130kPDFs/137485.pdf.
The cause of this exception was: org.apache.commons.vfs.FileSystemException: Could not determine the type of file "http://www.mybp-graphics.com/serverpdfs/130kPDFs/137485.pdf"..
Here's the actual code that generated that error:
<cfset filename = "http://www.mybp-graphics.com/serverpdfs/130kPDFs\137485.pdf">
then within a table...
<cfif FileExists("#filename#")>
<td>Yes File</td>
<cfelse>
<td>No file</td>
</cfif>
The "serverpdfs" is the virtual directory inside the website "mybp-graphics.com". If I look in IIS the directory is there, I can see all the files in it - it seems to be working fine.
I first experienced the problem when we tried to open a PDF for viewing by using <CFCONTENT> - the same type error occurs.
What is especially suspicious is that the exception was was "org.apache.commons.cfs.FileSystemException" - This error still persists even though I have done the following:
1. Completely de-installed Apache and hid the PHP directory.
2. Re-installed ColdFusion from scratch.
Any direction would be greatly appreciated - this error is affecting multiple modules of a website that is used constantly by both our customers and our internal employees.
If this should be posted in a different area of the forum please let me know.
Thanks
CurtSean,
Thanks for your reply - in regards to the "FileExists()" - I had set that up as a quick test and received the same error (essentially) as my primary code that is generating the eror. Below is the actual code that generates the error - along with the full output of the error message below;
The code calls another file to actually "push" the PDF I am trying to open - hopefully the code all makes sense. The CFSET code calculates the file name as files are stored in different sub-directories. This code has worked well for over a year.
As for the 500 error - I suspect that is a permissions issue - that folder is not publicly accessible - but it is to the coldfusion user account - and thus it serves it up.
Code:
------- Both the primary module and the called module ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<!--- This file calls the push file routine and passes along the parameters. It also acts as the "shell" to open the new window.
First we have to check and make sure that the random number matches up with the job number. --->
<cfquery name="qRandom" datasource="BPOffice">
SELECT OrderNum, Random
FROM JobOrder_Data.db
WHERE (OrderNum = #URL.fn#) AND (Random = #URL.rnd#)
</cfquery>
<body>
<cfif qRandom.RecordCount EQ 1>
<cfset variables.MIMEType="application/pdf">
<cfset variables.FileName = "http://www.mybp-graphics.com/serverpdfs/" & "#(Int(URL.fn/10000)*10)#" & "kPDFs" & "#URL.fn#" & ".pdf">
<cfset variables.Displaytype="inline">
<cf_pushfile
FileName=#variables.FileName#
MIMEType=#variables.MIMEType#
DisplayType=#variables.DisplayType#>
<cfelse>
Error - no file found.
</cfif>
</body>
</html>
======= Now the CF_PUSHFILE code ======
<cfset variables.FileToPush=attributes.FileName>
<cfheader
name="content-disposition"
value="#attributes.DisplayType#; filename=#attributes.FileName#">
<cfcontent
type="#attributes.MIMEType#"
file=#variables.FileToPush#>
==========END OF PUSHFILE CODE============
-----End of Code
Error:
An error occurred when performing a file operation exists on file /serverpdfs/130kPDFs/137623.pdf.
The cause of this exception was: org.apache.commons.vfs.FileSystemException: Could not determine the type of file "http://www.mybp-graphics.com/serverpdfs/130kPDFs/137623.pdf"..
The error occurred in C:/Inetpub/wwwroot/Paradox/open_pdf.cfm: line 38
36 : <cfheader name="Content-Disposition" value="inline; filename=#variables.ShortName#"> 37 : <cfheader name="Expires" value="#Now()#"> 38 : <cfcontent type="application/pdf" file="#variables.FileName#"> 39 : 40 :
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19
Remote Address
192.168.0.16
Referrer
http://bpweb/paradox/ShowJobOrder.cfm?cfJobNumber=&CFGRIDKEY=137623
Date/Time
01-May-12 12:19 PM
Stack Trace
at cfopen_pdf2ecfm1312221362.runPage(C:/Inetpub/wwwroot/Paradox/open_pdf.cfm:38) at cfopen_pdf2ecfm1312221362.runPage(C:/Inetpub/wwwroot/Paradox/open_pdf.cfm:38)
org.apache.commons.vfs.FileSystemException: Could not determine the type of file "http://www.mybp-graphics.com/serverpdfs/130kPDFs/137623.pdf". at org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1305) at org.apache.commons.vfs.provider.AbstractFileObject.getType(AbstractFileObject.java:412) at org.apache.commons.vfs.provider.AbstractFileObject.exists(AbstractFileObject.java:402) at coldfusion.vfs.VFile.exists(VFile.java:230) at coldfusion.tagext.net.ContentTag.doStartTag(ContentTag.java:178) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cfopen_pdf2ecfm1312221362.runPage(C:\Inetpub\wwwroot\Paradox\open_pdf.cfm:38) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 ) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Caused by: org.apache.commons.vfs.FileSystemException: HEAD method failed for "http://www.mybp-graphics.com/serverpdfs/130kPDFs/137623.pdf". at org.apache.commons.vfs.provider.http.HttpFileObject.doGetType(HttpFileObject.java:96) at org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1296) ... 36 more
As you'll notice I am getting the same "org.apache.commons.vfs" error as before.
Any further thoughts would be greatly appreciated.
Thanks
Curt -
I've just installed a Exchange 2010 server in an Exchange 2007 server environment.
The 2007 enviroment include two exchange server "Server-A" and "Server-B"
and "Server B" has dead on hardware issue for half year.
When I go to Microsoft Exchange On-Premises -> ServerConfiguration -> Client Access and receive the following error message
An IIS directory entry couldn't be created. The error message is Access is denied. . HResult = -2147024891 It was running the command 'Get-OabVirtualDirectory'
I try run the “Get-OwaVirtualDirectory” in powershell and get following result
From the power Shell command prompt .. Run
[PS] C:\Windows\system32>Get-OwaVirtualDirectory
An IIS directory entry couldn’t be created. The error message is Access is denied.
. HResult = -2147024891
+ CategoryInfo : NotInstalled: (<Server-B\Exchange (Default Web Site):ADObjectId) [Get-OwaVirtualDirectory]
, IISGeneralCOMException
+ FullyQualifiedErrorId : 4B12EB5D,Microsoft.Exchange.Management.SystemConfigurationTasks.GetOwaVirtualDirectory
I've google that i need to add "Exchange Trusted Subsystem" as a member in local admin group in Exchange 2007
but my exchange 2007 "Server-B" already dead, how should i fix it?
Appreciate for any help!!re-create the new virtual directories does not work for me.
still got the error
An IIS directory entry
couldn’t be created. The error message is Access is denied.
. HResult = -2147024891
+ CategoryInfo : NotInstalled: (<Server-B\Exchange (Default Web Site):ADObjectId) [Get-OwaVirtualDirectory]
, IISGeneralCOMException
+ FullyQualifiedErrorId : 4B12EB5D,Microsoft.Exchange.Management.SystemConfigurationTasks.GetOwaVirtualDirectory
I don't understand why change new exchange server 2010 setting require me to have permission to access
my dead exchange server 2007
Maybe you are looking for
-
How to connect 22" Apple Cinema Display with ADC to Mini DisplayPort?
What are my chances to connect a 22" Apple Cinema Display with ADC connection to my new MacBook Pro with its Mini DisplayPort? Is there a combo possible of some adapter with some cable for instance?
-
Submitting multiple job on teh same table via trigger
Hi All, I have a trigger that run multiple jobs using dbms_job on the same table. I am trying to refresh two materialized views complete via dbms_job. Issue is when data is inserted into NET_CAB table , the trigger kicks off the bothe procedures but
-
Difference between two text(String) in percent
I am currently building a project require to generate the differences between two text store in (String) in precentages. The fuction should look something likde this: double compare(String text1, String text2){ //doing the smart compariso
-
Extended classic pricing component
hai, i am new to extended classic.i am worrying about pricing procedure in srm.does it needs internet pricing configurator?how can it maps with backend pricing conditions?please help me to find out the solution. thanks and regards swapna
-
[SOLVED]No Module named Six
I got this error when starting deluge. Don't remember doing anything to deluge. Seems to have just broke. I guess that happens magically. Anyway, here's the error: [ERROR ] 23:27:46 ui:168 No module named six Traceback (most recent call last): File "