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 )

12924 put(a) pogledan, 6 odgovor(a) 11.9.2014. 15:54:39Kreirao(la) nasman
nasman

nasman

11.9.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?
Ovaj sadržaj još nije ocijenjen. 
845 Reputacija 93 Ukupno objava
khorvat

khorvat

12.9.2014. 8: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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
nasman

nasman

12.9.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>     
Ovaj sadržaj još nije ocijenjen. 
845 Reputacija 93 Ukupno objava
imarusic

imarusic

16.9.2014. 7:02:51
Hi,

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

Regards.
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
nasman

nasman

16.9.2014. 7:20:49
Hi,

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

Thanks for your help
Ovaj sadržaj još nije ocijenjen. 
845 Reputacija 93 Ukupno objava
imarusic

imarusic

16.9.2014. 7:33:45
Ok, we are glad you managed to resolve your issue.

Regards.
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava