MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Asking for login when Iaccess anything from upload folder without login  (Mono Support )

Viewed 12952 time(s), 6 post(s) 11.09.2014 15:54:39by nasman
nasman

nasman

11.09.2014 15:54:39
hi,

I am using MonoXFileSystemContentProvider  for the uploaded files.  I am getting login page when I access any image from the upload folder without login. Any idea?
Dieser Inhalt wurde noch nicht bewertet. 
845 Reputation 93 Total posts
khorvat

khorvat

12.09.2014 08:36:12
Did you set any kind of permissions on the Upload folder, in main web.config or do you have separate web.config with permissions in the upload folder. Also can you provide us with the fiddler session or general information about the request and response for that request ?

Regards
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
nasman

nasman

12.09.2014 10:31:08
I am using virtual directory for the upload folder because actual upload folder is on another server.  I have also tried  following but it didn't work


 <location path="/upload">
        <system.web>
            <authorization>
                <allow users="*" />
            </authorization>
        </system.web>
    </location>     
Dieser Inhalt wurde noch nicht bewertet. 
845 Reputation 93 Total posts
imarusic

imarusic

16.09.2014 07:02:51
Hi,

as Kristijan mentioned, can you provide is with fiddler session. Did you check MonoX logs?

Regards.
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts
nasman

nasman

16.09.2014 07:20:49
Hi,

We have set the anonymous access in IIS for the virtual directory and it  starts  working now.

Thanks for your help
Dieser Inhalt wurde noch nicht bewertet. 
845 Reputation 93 Total posts
imarusic

imarusic

16.09.2014 07:33:45
Ok, we are glad you managed to resolve your issue.

Regards.
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts