Re: [cfmongodb: 361] Re: UNC Path Mapping for /cfmongodb

36 views
Skip to first unread message
Message has been deleted
Message has been deleted

Marc Esher

unread,
Nov 11, 2015, 5:40:14 PM11/11/15
to cfmo...@googlegroups.com
Glad to hear you got it figured out.

On Mon, Nov 9, 2015 at 7:48 PM, NeoRye <dde...@dealerpeak.com> wrote:
> I figured it out. My UNC path is using MS Namespaces. I just needed to give
> "Full Control" under the namespace share permissions to the CF service
> account I was using. The default permission is only read/change for
> Everyone.
>
> Thanks!
>
>
> On Monday, November 9, 2015 at 11:52:44 AM UTC-8, NeoRye wrote:
>>
>> I've been using CFMongoDb for awhile now. We've had it installed on a
>> local drive (I:), but I would like to move this to a UNC path on a file
>> server. All my other mapping work fine as a UNC path, but I'm having issues
>> with the CFMongo install. I get a "not authorized for query on". What would
>> changing the mapping have to do with query auth? I suppose its not related
>> to auth, but maybe class loading issue? Can anyone shed some light? Anyone
>> else using UNC mappings and either having it work or not?
>>
>> UNC Path does not work
>> {name='/cfmongodb', path='\\mysite.com\root\com\marcesher\cfmongodb'}
>>
>> Drive Path does work
>> {name='/cfmongodb', path='I:\root\com\marcesher\cfmongodb'}
>>
>> I get this error when using a UNC mapping ->
>>
>> com.mongodb.MongoException: not authorized for query on MyMongoDB.feature
>> at com.mongodb.MongoException.parse(MongoException.java:82)
>> at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:314)
>> at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:295)
>> at com.mongodb.DBCursor._check(DBCursor.java:368)
>> at com.mongodb.DBCursor._hasNext(DBCursor.java:459)
>> at com.mongodb.DBCursor.hasNext(DBCursor.java:484)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at coldfusion.runtime.StructBean.invoke(StructBean.java:508)
>> at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2461)
>> at cfSearchResult2ecfc1656071259$funcASARRAY.runFunction
>> at
>> cfSearchResult2ecfc1656071259$funcASARRAY.runFunction(\\mysite.com\root\com\marcesher\cfmongodb\core\SearchResult.cfc:34)
>> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
>> at
>> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
>> at
>> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
>> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
>> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
>> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
>> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444)
>> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414)
>> at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428)
>> at
>> cfMongoDBService2ecfc666541509$funcGET.runFunction(\\mysite.com\root\com\mongodb\MongoDBService.cfc:43)
>> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
>> at
>> coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
>> at
>> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
>> at
>> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
>> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
>> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
>> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
>> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444)
>> at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414)
>> at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2428)
>> at
>> cfFeatureService2ecfc2054070282$funcGETFEATURE.runFunction(\\mysite.com\root\com\managers\FeatureService.cfc:104)
>
> --
> You received this message because you are subscribed to the Google Groups
> "CFMongoDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cfmongodb+...@googlegroups.com.
> To post to this group, send email to cfmo...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cfmongodb.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages