did you update you web config file?
you need to add the following key in your web.config
<httpRuntime executionTimeout="240" maxRequestLength="20480" />
just copy and paste.........
did you update you web config file?
you need to add the following key in your web.config
<httpRuntime executionTimeout="240" maxRequestLength="20480" />
just copy and paste.........
how to add them properly? please enlighten me
"Type moxiecode.manager.plugin not defined"
i am getting this error even though i have added the reference manually.....
spocke i need your comment on the above issue
hi spocke,
to prevent logout while deleting a folder in mc filemanager i have created a state server in my web.config.
now the problems is, to use state server all the objects has to be serialized.in my app most of the object are not serialized and refactoring will take a lot of efforts since the project is at the final stage.
is there any other way to prevent logout upon folder deletion?
looking for your helpful response.
thanks,
qamar
i think u missed the last part of my post.
here is what i did...
1) i have created a separate project under the same solution file
2) then i have copied the template.vb inside the class library project.
3) then i have added a reference to the mcfilemanager and mcmanager
4) this eliminated the import library missing issue but i still see the following error cause the template class is inheriting another class.
"Type moxiecode.manager.plugin not defined"
please look at no4.
ok here are my confusions:
1) where should i create the custom plugin to connect to database? is it can be in my solution root or it has to be in the filemanager/plugins/_template directory?
2) how do i reference the dll like mcfilemanager.dll and mcmanager.dll if i create the plugin inside filemanager/plugins/_template directory?
3) how do i register the plugin if it is created on root?
here is what i have done so far
1) i have created a separate project under the same solution file
2) then i have copied the template.vb inside the class library project.
3) then i have added a reference to the mcfilemanager and mcmanager
4) this eliminated the import library missing issue but i still see the following error cause the template class is inheriting another class.
"Type moxiecode.manager.plugin not defined"
spocke i have copied the whole _template folder from filemanager. but stil the imported library is missing. am doing anything wrong here?
yeah i solved it by overriding the default upload size from 4 mb to 10 mb. just add the following entry under system.web of web.config file
<httpRuntime executionTimeout="240" maxRequestLength="20480" />
Please read the following article if someone has such problems
i am using asp.net not php
the size of the flv file is 9.75 mb.
yeah spocke himself is a great help. he can answer all of us but i believe he does not have enough time. it is absolutely ok annabelle if you cant help me out
hi ,
1) i have configured file manager uploader to upload flv files. it uploads those files which is less than 5mb but more than that it shows an io error.
the max size for upload is 10 mb.
2) how can we preview doc, doc, xls, xlsx and video files? when i click on the any file type specified earlier it gives me a download window. how do we stop that and preview word and excel file?
3) the file preview window previews image partially and leaves some place empty on the bottom side of the preview box. whats is the remedy? i want to fulfill the box with whole image.
Hi Spocke,
Thanks a million for helping me through different post answer to integrate mc filemanager in my asp.net mvc website. Now everything works fine and the file manager works lightning fast and i believe first of his kind which push for little server resources.
now i want to feed a database with every operation committed on file and folders. you have already instructed to rewrite onfileaction event.
i have followed all the procedures that you have asked me in this post http://tinymce.moxiecode.com/punbb/view
p?id=23707
to create the custom plugin i have copied the src folder of filemanager in my project and rewrote the template plugin class. but within template class i have some imports of some other libraries(moxiecode manager, moxiecode.fielsystems etc) which source i have in the same project. i believe i need the dll of those imports to use them in my custom pugin.
thanks,
qamar
thanks spocke. i will try your fixes and update you.
how do we redownload? i have puchased version mcfilemanager_net_3_1_2_6_site. Is this the latest one after the fix?
Hi Spocke,
Hope you are having a good day.Can you update me on my recent post. Some of the problems i have managed to solve from previous post but many of them still pending. Those i have pasted here. Clients are killing me as i am just stuck with these few things. Please update me asap.
1) surprise, i have managed to create directory without selecting a template. I get no error. But if i select a template then i get the error "You do not have access to perform this operation".
What is the remedy of this problem.
Below is how i configured the template directory.
<add key="filesystem.directory_templates" value="~/filemanager/files/templates/directory,~/filemanager/files/templates/another_directory" />
I am not interested in Directory template, so is there any way that i can hide it somehow?
2) Preview still not working. Below is how i have configured preview options
<add key="filesystem.rootpath" value="~/Directory/" />
<add key="preview.wwwroot" value="D:\Qamar\Projects\ViaMedia\ViaMediaMvc2" />
<add key="preview.urlprefix" value="{proto}/{host}/" />
I don't know why is it still taking me to the c:intepub folder. Please advise me on this issue asap.
Thanks,
Qamar
you can open it in iframe.
here is the link to follow http://tinymce.moxiecode.com/examples_fm/example_04.php
1) surprise, i have managed to create directory without selecting a template. I get no error. But if i select a template then i get the error "You do not have access to perform this operation".
What is the remedy of this problem.
Below is how i configured the template directory.
<add key="filesystem.directory_templates" value="~/filemanager/files/templates/directory,~/filemanager/files/templates/another_directory" />
Even though i am not interested in using templates but still i want to know why is it happening?
2) Preview still not working. Below is how i have configured preview options
<add key="filesystem.rootpath" value="~/Directory/" />
<add key="preview.wwwroot" value="D:\Qamar\Projects\ViaMedia\ViaMediaMvc2" />
<add key="preview.urlprefix" value="{proto}://{host}/" />
I don't is it still taking me to the c:intepub folder. Please advise me on this issue asap.
3) When i delete a folder i find myself logged out, why? any resolution?
4) I have added xls and xlsx and txt in upload extentions but i am not able to upload any xls, xlsx or txt files?
I need these answers pretty quickly.
Thanks,
Qamar
i think its picking up the web.config cause i have managed to add upload extensions for ms word docs but when i put xls in the extensions, its not displaying in the upload window. does it mean that web.config is not picking up?
i have already created a virtual directory and put the physical directory path in preview.wwwroot. but still no luck. so how can i test whether web.config is picking up or not?
how can hide the template selection dropdown in the create folder window? i just want to create folder not confuse users with templates.
thanks,
qamar
spocke,
i have granted all rights for the network service but still not been able to create folder.the error is "You do not have access to perform this operation". what should i do now?
about the preview things i changed the preview.wwwroot path to my application directory which is not c:/inetpub/wwwroot cause i am running the app on my local machine. but when i try to view it still takes me to c:/intepub/wwwroot. what shd i do?
so do i have to define anything for directory and another_directory template? i still did not get the diff between them. can you elaborate more please?
thanks,
qamar
i have been asking you the same question in different ways over and over. what is this onfileaction event ? is it a jscript function or a server side .net function? if server side how can i see this function (which file it resides)? hope this time its clear to you.
hi spocke,
i have integrated file manager into my system. upload is working fine. but i am getting following errors when try to do below.
1. renaming does not work. when i select a file and click on rename button it makes the file or folder name as editable. once i change the name then i click on the interface but it does not update the file/folder name with the change? is that the right way to rename?
2. when i try to create a folder, it gives me the error that you dont have enough permission to perform the action but i have already put full access to the folder.
3. i really dont understand the template concept of create directory(same goes for create file also)? can you explain a bit? what i need to do for the templates? what are the diff between directory and another_directory(file and another_file)?
4. i did not create a virtual directory for my app in c:intepub/wwwroot. the app resides in a diff directory and i am using built in visual studio dev server not the full fledged iis server to debug and run the app. when i want to view preview of a file it takes the path from c:\intetpub\wwroot\appname...........how can i change that to my app physical path?
Once i get all these answers i am pretty much done with the integration......
Hope to hear from you soon....
Thanks,
Qamar
what do u mean by open directly?
what i want is clicking on the menu link it should open the filemanager, is it possible?
at least let me know where should i write the sql query and all while uploading, deleting, editing and renaming the files?
You are not logged in. Please login or register.