Please don't worry about search licence file, if it's very slow which means your file number in project folder is too big, but I did a quickly test, about 20000 files with many subfolders only need takes about 2 seconds the first time, after that the speed will increase to about 0.2 seconds, I don't think your project folder will contains so many files, the file size is not important for this system API. You can also did a test in your machine:
Stopwatch sw = new Stopwatch();
int fileCount = Directory.GetFiles(@"D:\ProjectFolder", "*.*", SearchOption.AllDirectories).Length;
long timeInSeconds = sw.ElapsedMilliseconds / 1000;
The exception is because you set security for folder, please don't disable the access permissions for project folder and data folder.
If the load shape file very slow, which should because you hadn't build index for shape file, pleaes check that:
And you can also open cache for improve performance:
LayerOverlay overlay = new LayerOverlay();
overlay.TileCache = new FileBitmapTileCache("YourCacheFolder", "CacheSubFolder");
After that, please don't render too many shapes in high zoomlevel, which measn you don't want to render a country road when you zoom to the state zoom level, so please optimize your render logic, show the shapes in suitable levels.
If that's still cannot solve your problem, please upload the sample to us, you can also upload your data to our FTP, contact your sales to get the FTP account.
Wish that's helpful.